Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#265 from gibizer/cell1-dat…
Browse files Browse the repository at this point in the history
…abase

Adapt to having separate DB for cell1 by default
  • Loading branch information
openshift-merge-robot authored Apr 6, 2023
2 parents a00604b + 9af7f35 commit 1110f19
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 130 deletions.
9 changes: 9 additions & 0 deletions config/samples/core_v1beta1_openstackcontrolplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ spec:
openstack:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
galera:
enabled: false
templates:
Expand All @@ -24,6 +27,12 @@ spec:
storageRequest: 500M
secret: osp-secret
replicas: 1
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageClass: local-storage
storageRequest: 500M
secret: osp-secret
replicas: 1
rabbitmq:
templates:
rabbitmq:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ spec:
hasAPIAccess: true
cell1:
cellDatabaseUser: nova_cell1
cellDatabaseInstance: openstack
cellMessageBusInstance: rabbitmq
conductorServiceTemplate:
replicas: 1
hasAPIAccess: true
Expand Down
9 changes: 9 additions & 0 deletions config/samples/core_v1beta1_openstackcontrolplane_galera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ spec:
openstack:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
galera:
enabled: true
templates:
Expand All @@ -25,6 +28,12 @@ spec:
storageRequest: 500M
secret: osp-secret
replicas: 1
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageClass: local-storage
storageRequest: 500M
secret: osp-secret
replicas: 1
rabbitmq:
templates:
rabbitmq:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
openstack:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
memcached:
enabled: true
templates:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ spec:
openstack:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
openstack-cell1:
containerImage: quay.io/tripleozedcentos9/openstack-mariadb:current-tripleo
storageRequest: 500M
memcached:
enabled: true
templates:
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion config/samples/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
resources:
- core_v1beta1_openstackcontrolplane.yaml
- core_v1beta1_openstackcontrolplane_collapsed_cell.yaml
- core_v1beta1_openstackcontrolplane_separate_cell_db.yaml
- core_v1beta1_openstackcontrolplane_network_isolation.yaml
#+kubebuilder:scaffold:manifestskustomizesamples

0 comments on commit 1110f19

Please sign in to comment.