Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#239 from fultonj/hci_cinde…
Browse files Browse the repository at this point in the history
…r_replicas

Set Cinder API and Backup replicas to 3 for HCI VA
  • Loading branch information
ASBishop authored May 21, 2024
2 parents 58f61c9 + 7a38c49 commit 2d5ab81
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/va/hci/service-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ metadata:
annotations:
config.kubernetes.io/local-config: "true"
data:
cinderAPI:
replicas: 3
cinderBackup:
replicas: 3
customServiceConfig: |
[DEFAULT]
backup_driver = cinder.backup.drivers.ceph.CephBackupDriver
Expand Down
22 changes: 22 additions & 0 deletions va/hci/edpm-post-ceph/nodeset/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,28 @@ replacements:
- spec.cinder.template.cinderVolumes.ceph
options:
create: true
- source:
kind: ConfigMap
name: service-values
fieldPath: data.cinderAPI.replicas
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.cinder.template.cinderAPI.replicas
options:
create: true
- source:
kind: ConfigMap
name: service-values
fieldPath: data.cinderBackup.replicas
targets:
- select:
kind: OpenStackControlPlane
fieldPaths:
- spec.cinder.template.cinderBackup.replicas
options:
create: true
- source:
kind: ConfigMap
name: service-values
Expand Down

0 comments on commit 2d5ab81

Please sign in to comment.