Skip to content

Commit

Permalink
DCN Workaround to set Cinder uniquePodNames false
Browse files Browse the repository at this point in the history
As per the OSPRH-11240, set uniquePodNames false for Cinder
so that extraMounts can be used to propagate secrets to pods
by matching the instance AZ name in DCN deployments. This
patch can be reverted after OSPRH-11240 is resolved.

Jira: https://issues.redhat.com/browse/OSPRH-11240

Signed-off-by: John Fulton <[email protected]>
  • Loading branch information
fultonj committed Nov 6, 2024
1 parent 518a882 commit c23b9ea
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dt/dcn/edpm-post-ceph/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,17 @@ replacements:
- spec.cinder.template.cinderBackup.customServiceConfig
options:
create: true
- source:
kind: ConfigMap
name: service-values
fieldPath: data.cinder.uniquePodNames
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.cinder.uniquePodNames
options:
create: true
- source:
kind: ConfigMap
name: service-values
Expand Down
2 changes: 2 additions & 0 deletions examples/dt/dcn/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ metadata:
config.kubernetes.io/local-config: "true"
data:
preserveJobs: false
cinder:
uniquePodNames: false
cinderAPI:
replicas: 3
customServiceConfig: |
Expand Down

0 comments on commit c23b9ea

Please sign in to comment.