Skip to content

Commit 743a8bf

Browse files
Merge pull request #481 from fmount/unique_pm
Switch cinder uniquePodNames to true for DCN deployments This patch reverts the work done in [1], where uniquePodNames was added as a kustomization parameter for Cinder and switched to false due to [2]. In addition, this patch fixes the way extraMounts Ceph secrets are accessed, and removes the not required projected key. [1] #436 [2] https://issues.redhat.com/browse/OSPRH-11240 Jira: https://issues.redhat.com/browse/OSPRH-11240 Reviewed-by: John Fulton <[email protected]>
2 parents 32d7703 + cde2810 commit 743a8bf

File tree

3 files changed

+2
-17
lines changed

3 files changed

+2
-17
lines changed

dt/dcn/control-plane/kustomization.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -88,17 +88,6 @@ replacements:
8888
- spec.cinder.template.cinderBackup.customServiceConfig
8989
options:
9090
create: true
91-
- source:
92-
kind: ConfigMap
93-
name: service-values
94-
fieldPath: data.cinder.uniquePodNames
95-
targets:
96-
- select:
97-
kind: OpenStackControlPlane
98-
fieldPaths:
99-
- spec.cinder.uniquePodNames
100-
options:
101-
create: true
10291
- source:
10392
kind: ConfigMap
10493
name: service-values

examples/dt/dcn/control-plane/scaledown/service-values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ data:
1111
customServiceConfig: |
1212
[DEFAULT]
1313
default_availability_zone = az0
14-
uniquePodNames: false
1514
cinderAPI:
1615
replicas: 3
1716
cinderBackup:

examples/dt/dcn/service-values.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ data:
1212
customServiceConfig: |
1313
[DEFAULT]
1414
storage_availability_zone = az0
15-
uniquePodNames: false
1615
cinderAPI:
1716
replicas: 3
1817
cinderBackup:
@@ -353,10 +352,8 @@ data:
353352
extraVolType: Ceph
354353
volumes:
355354
- name: ceph
356-
projected:
357-
sources:
358-
- secret:
359-
name: ceph-conf-files
355+
secret:
356+
secretName: ceph-conf-files
360357
mounts:
361358
- name: ceph
362359
mountPath: /etc/ceph

0 commit comments

Comments
 (0)