Skip to content

Commit

Permalink
Merge pull request #430 from fmount/improve_kustomize
Browse files Browse the repository at this point in the history
Do not maintain a copy of the base ctlplane CR
  • Loading branch information
openshift-merge-bot[bot] authored Feb 1, 2024
2 parents bce1c54 + f3cf838 commit 053fb28
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 220 deletions.
17 changes: 16 additions & 1 deletion config/samples/backends/base/openstack/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
resources:
- openstack.yaml
- https://raw.githubusercontent.com/openstack-k8s-operators/openstack-operator/main/config/samples/core_v1beta1_openstackcontrolplane_galera_network_isolation.yaml

patches:
- target:
kind: OpenStackControlPlane
name: .*
patch: |-
- op: remove
path: /spec/glance/template/glanceAPIs/default/type
- target:
kind: OpenStackControlPlane
name: .*
patch: |-
- op: replace
path: /metadata/name
value: openstack
211 changes: 0 additions & 211 deletions config/samples/backends/base/openstack/openstack.yaml

This file was deleted.

7 changes: 0 additions & 7 deletions config/samples/backends/ceph/ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ spec:
rbd_store_user = openstack
databaseInstance: openstack
databaseUser: glance
glanceAPIs:
default:
debug:
service: false
preserveJobs: false
replicas: 1
type: split
secret: osp-secret
storageClass: ""
storageRequest: 1G
Expand Down
1 change: 1 addition & 0 deletions config/samples/backends/cinder/glance-common/glance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ spec:
service: false
preserveJobs: false
replicas: 1
type: split
storageClass: ""
storageRequest: 1G
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Whole OpenStack deployment using a Cinder NVMe-TCP LVM backend
resources:
- https://github.com/openstack-k8s-operators/cinder-operator/config/samples/backends/lvm/nvme-tcp

components:
- ../glance-common
apiVersion: kustomize.config.k8s.io/v1beta1
Expand Down
1 change: 0 additions & 1 deletion config/samples/backends/swift/glance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ spec:
service: false
preserveJobs: false
replicas: 1
type: split
storageClass: ""
storageRequest: 1G

0 comments on commit 053fb28

Please sign in to comment.