Skip to content

Commit 40fc78c

Browse files
Merge pull request #436 from fultonj/OSPRH-11240
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]>
2 parents 518a882 + c23b9ea commit 40fc78c

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

dt/dcn/edpm-post-ceph/nodeset/kustomization.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ replacements:
7878
- spec.cinder.template.cinderBackup.customServiceConfig
7979
options:
8080
create: true
81+
- source:
82+
kind: ConfigMap
83+
name: service-values
84+
fieldPath: data.cinder.uniquePodNames
85+
targets:
86+
- select:
87+
kind: OpenStackControlPlane
88+
fieldPaths:
89+
- spec.cinder.uniquePodNames
90+
options:
91+
create: true
8192
- source:
8293
kind: ConfigMap
8394
name: service-values

examples/dt/dcn/service-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ metadata:
88
config.kubernetes.io/local-config: "true"
99
data:
1010
preserveJobs: false
11+
cinder:
12+
uniquePodNames: false
1113
cinderAPI:
1214
replicas: 3
1315
customServiceConfig: |

0 commit comments

Comments
 (0)