Skip to content

Commit d0551de

Browse files
committed
Test schema with listTypes PR
Testing with: openstack-k8s-operators/lib-common#617 Signed-off-by: Brendan Shephard <[email protected]>
1 parent 10f5f7e commit d0551de

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

api/bases/keystone.openstack.org_keystoneapis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ spec:
157157
- name
158158
type: object
159159
type: array
160+
x-kubernetes-list-type: atomic
160161
propagation:
161162
description: Propagation defines which pod should mount
162163
the volume
@@ -166,6 +167,7 @@ spec:
166167
receives an Extra Volume that can potentially be mounted
167168
type: string
168169
type: array
170+
x-kubernetes-list-type: atomic
169171
volumes:
170172
items:
171173
description: Volume our slimmed down version of Volume
@@ -1149,6 +1151,7 @@ spec:
11491151
- name
11501152
type: object
11511153
type: array
1154+
x-kubernetes-list-type: atomic
11521155
required:
11531156
- mounts
11541157
- volumes

config/crd/bases/keystone.openstack.org_keystoneapis.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ spec:
157157
- name
158158
type: object
159159
type: array
160+
x-kubernetes-list-type: atomic
160161
propagation:
161162
description: Propagation defines which pod should mount
162163
the volume
@@ -166,6 +167,7 @@ spec:
166167
receives an Extra Volume that can potentially be mounted
167168
type: string
168169
type: array
170+
x-kubernetes-list-type: atomic
169171
volumes:
170172
items:
171173
description: Volume our slimmed down version of Volume
@@ -1149,6 +1151,7 @@ spec:
11491151
- name
11501152
type: object
11511153
type: array
1154+
x-kubernetes-list-type: atomic
11521155
required:
11531156
- mounts
11541157
- volumes

go.mod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,5 @@ replace github.com/openshift/api => github.com/openshift/api v0.0.0-202408300231
9191

9292
// custom RabbitmqClusterSpecCore for OpenStackControlplane (v2.6.0_patches_tag)
9393
replace github.com/rabbitmq/cluster-operator/v2 => github.com/openstack-k8s-operators/rabbitmq-cluster-operator/v2 v2.6.1-0.20241017142550-a3524acedd49 //allow-merging
94+
95+
replace github.com/openstack-k8s-operators/lib-common/modules/storage => github.com/fmount/lib-common/modules/storage v0.0.0-20250406134016-33ecf6e861ba

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ github.com/evanphx/json-patch v5.7.0+incompatible h1:vgGkfT/9f8zE6tvSCe74nfpAVDQ
1212
github.com/evanphx/json-patch v5.7.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
1313
github.com/evanphx/json-patch/v5 v5.9.0 h1:kcBlZQbplgElYIlo/n1hJbls2z/1awpXxpRi0/FOJfg=
1414
github.com/evanphx/json-patch/v5 v5.9.0/go.mod h1:VNkHZ/282BpEyt/tObQO8s5CMPmYYq14uClGH4abBuQ=
15+
github.com/fmount/lib-common/modules/storage v0.0.0-20250406134016-33ecf6e861ba h1:EHKBkdW8V+ihsyz87JTKQUh1BL2Hq1uOpBRKOEgURH4=
16+
github.com/fmount/lib-common/modules/storage v0.0.0-20250406134016-33ecf6e861ba/go.mod h1:5+v92XC/PRATIiBrhNLEpJ+T4R9JpxBCgRP6QvbfwgE=
1517
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
1618
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
1719
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
@@ -84,8 +86,6 @@ github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.2025040213
8486
github.com/openstack-k8s-operators/lib-common/modules/common v0.6.1-0.20250402133843-5a4c5f4fb4f1/go.mod h1:A9Ohw5Q90YOGhcDF4ZHkMr5RArz3phoBu9+ibbYDKG4=
8587
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20250402133843-5a4c5f4fb4f1 h1:QlwUTGaUrl0Z6ozC7u0UNdgB3L6k/b60jsq2u8w482k=
8688
github.com/openstack-k8s-operators/lib-common/modules/openstack v0.6.1-0.20250402133843-5a4c5f4fb4f1/go.mod h1:fesgTbs2j30Fhw2hebXkPgbeAIqG0Yk2oaeOklAInZg=
87-
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20250402133843-5a4c5f4fb4f1 h1:KcltUDbUA0sjtf6bV60L7GDpC0pmokhtdK3579yytS4=
88-
github.com/openstack-k8s-operators/lib-common/modules/storage v0.6.1-0.20250402133843-5a4c5f4fb4f1/go.mod h1:5+v92XC/PRATIiBrhNLEpJ+T4R9JpxBCgRP6QvbfwgE=
8989
github.com/openstack-k8s-operators/lib-common/modules/test v0.6.1-0.20250402133843-5a4c5f4fb4f1 h1:Tdq+6lI4yPMjEwTMyw4+EGMuyEA9Gql07kDBBVm50bI=
9090
github.com/openstack-k8s-operators/lib-common/modules/test v0.6.1-0.20250402133843-5a4c5f4fb4f1/go.mod h1:oKvVb28i6wwBR5uQO2B2KMzZnCFTPCUCj31c5Zvz2lo=
9191
github.com/openstack-k8s-operators/mariadb-operator/api v0.5.0 h1:XBx1TuyKhgtWAigYVcdqTUzIwWRYHN63pfa0zxHB12M=

0 commit comments

Comments
 (0)