Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#436 from fultonj/OSPRH-11240
Browse files Browse the repository at this point in the history
DCN Workaround to set Cinder uniquePodNames false

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

Reviewed-by: Francesco Pantano <[email protected]>
Reviewed-by: Andrew Bays <[email protected]>
  • Loading branch information
2 parents 518a882 + c23b9ea commit 40fc78c
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 40fc78c

Please sign in to comment.