diff --git a/config/samples/backends/base/openstack/openstack.yaml b/config/samples/backends/base/openstack/openstack.yaml new file mode 100644 index 00000000..f668bb7d --- /dev/null +++ b/config/samples/backends/base/openstack/openstack.yaml @@ -0,0 +1,146 @@ +# Modified version of https://github.com/openstack-k8s-operators/openstack-operator/blob/main/config/samples/core_v1beta1_openstackcontrolplane_galera.yaml +# with some changes relevant for Glance +apiVersion: core.openstack.org/v1beta1 +kind: OpenStackControlPlane +metadata: + name: openstack +spec: + secret: osp-secret + storageClass: local-storage + keystone: + template: + databaseInstance: openstack + secret: osp-secret + mariadb: + enabled: false + templates: + openstack: + storageRequest: 500M + openstack-cell1: + storageRequest: 500M + galera: + enabled: true + templates: + openstack: + storageRequest: 500M + secret: osp-secret + replicas: 1 + openstack-cell1: + storageRequest: 500M + secret: osp-secret + replicas: 1 + rabbitmq: + templates: + rabbitmq: + replicas: 1 + rabbitmq-cell1: + replicas: 1 + memcached: + templates: + memcached: + replicas: 1 + placement: + template: + databaseInstance: openstack + secret: osp-secret + glance: + template: + databaseInstance: openstack + storageClass: "" + storageRequest: 10G + cinder: + template: + databaseInstance: openstack + secret: osp-secret + cinderAPI: + replicas: 1 + cinderScheduler: + replicas: 1 + cinderBackup: + replicas: 0 # backend needs to be configured + cinderVolumes: + volume1: + replicas: 0 # backend needs to be configured + manila: + template: + manilaAPI: + replicas: 1 + manilaScheduler: + replicas: 1 + manilaShares: + share1: + replicas: 1 + ovn: + template: + ovnDBCluster: + ovndbcluster-nb: + replicas: 1 + dbType: NB + storageRequest: 10G + ovndbcluster-sb: + replicas: 1 + dbType: SB + storageRequest: 10G + ovnNorthd: + replicas: 1 + ovnController: + external-ids: + system-id: "random" + ovn-bridge: "br-int" + ovn-encap-type: "geneve" + neutron: + template: + databaseInstance: openstack + secret: osp-secret + horizon: + template: + replicas: 1 + secret: osp-secret + nova: + template: + secret: osp-secret + heat: + enabled: false + template: + databaseInstance: openstack + heatAPI: + replicas: 1 + heatEngine: + replicas: 1 + secret: osp-secret + ironic: + enabled: false + template: + databaseInstance: openstack + ironicAPI: + replicas: 1 + ironicConductors: + - replicas: 1 + storageRequest: 10G + ironicInspector: + replicas: 1 + ironicNeutronAgent: + replicas: 1 + secret: osp-secret + ceilometer: + template: + passwordSelector: + service: CeilometerPassword + secret: osp-secret + serviceUser: ceilometer + swift: + enabled: true + template: + swiftRing: + ringReplicas: 1 + swiftStorage: + replicas: 1 + swiftProxy: + replicas: 1 + octavia: + enabled: false + template: + databaseInstance: openstack + octaviaAPI: + replicas: 1 + secret: osp-secret diff --git a/config/samples/backends/ceph/backend.yaml b/config/samples/backends/ceph/ceph.yaml similarity index 100% rename from config/samples/backends/ceph/backend.yaml rename to config/samples/backends/ceph/ceph.yaml diff --git a/config/samples/backends/ceph/kustomization.yaml b/config/samples/backends/ceph/kustomization.yaml index 9df82f41..f861150f 100644 --- a/config/samples/backends/ceph/kustomization.yaml +++ b/config/samples/backends/ceph/kustomization.yaml @@ -1,3 +1,5 @@ -## Append samples you want in your CSV to this file as resources ## resources: -- ceph.yaml + - ../base/openstack + +patches: + - ceph.yaml diff --git a/config/samples/backends/multibackends/kustomization.yaml b/config/samples/backends/multibackends/kustomization.yaml index 85c35e66..32da69f3 100644 --- a/config/samples/backends/multibackends/kustomization.yaml +++ b/config/samples/backends/multibackends/kustomization.yaml @@ -1,3 +1,5 @@ -## Append samples you want in your CSV to this file as resources ## resources: -- multibackends.yaml + - ../base/openstack + +patches: + - multibackend.yaml diff --git a/config/samples/backends/multibackends/backend.yaml b/config/samples/backends/multibackends/multibackend.yaml similarity index 100% rename from config/samples/backends/multibackends/backend.yaml rename to config/samples/backends/multibackends/multibackend.yaml diff --git a/config/samples/backends/nfs/kustomization.yaml b/config/samples/backends/nfs/kustomization.yaml index dfd0b058..418fbde9 100644 --- a/config/samples/backends/nfs/kustomization.yaml +++ b/config/samples/backends/nfs/kustomization.yaml @@ -1,3 +1,5 @@ -## Append samples you want in your CSV to this file as resources ## resources: -- nfs.yaml + - ../base/openstack + +patches: + - nfs.yaml diff --git a/config/samples/backends/nfs/backend.yaml b/config/samples/backends/nfs/nfs.yaml similarity index 100% rename from config/samples/backends/nfs/backend.yaml rename to config/samples/backends/nfs/nfs.yaml