From 7fe2b7c0f261d044999b80766f2de701bf3f9531 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Fri, 22 Nov 2024 12:57:18 +0100 Subject: [PATCH] DNM:test make crd-schema-check --- apis/bases/core.openstack.org_openstackcontrolplanes.yaml | 4 ++++ apis/core/v1beta1/openstackcontrolplane_types.go | 3 +++ .../crd/bases/core.openstack.org_openstackcontrolplanes.yaml | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/apis/bases/core.openstack.org_openstackcontrolplanes.yaml b/apis/bases/core.openstack.org_openstackcontrolplanes.yaml index 2e422fae9..b28ea610b 100644 --- a/apis/bases/core.openstack.org_openstackcontrolplanes.yaml +++ b/apis/bases/core.openstack.org_openstackcontrolplanes.yaml @@ -10879,6 +10879,8 @@ spec: format: int32 minimum: 0 type: integer + foo: + type: integer override: properties: service: @@ -14692,6 +14694,8 @@ spec: type: string type: object type: array + required: + - foo type: object type: object type: object diff --git a/apis/core/v1beta1/openstackcontrolplane_types.go b/apis/core/v1beta1/openstackcontrolplane_types.go index 54db1050f..bc8514696 100644 --- a/apis/core/v1beta1/openstackcontrolplane_types.go +++ b/apis/core/v1beta1/openstackcontrolplane_types.go @@ -507,6 +507,9 @@ type RabbitmqTemplate struct { // +operator-sdk:csv:customresourcedefinitions:type=spec // Overrides to use when creating the Rabbitmq clusters rabbitmqv2.RabbitmqClusterSpecCore `json:",inline"` + + // +kubebuilder:validation:Required + Foo int `json:"foo"` } // OvnSection defines the desired state of OVN services diff --git a/config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml b/config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml index 2e422fae9..b28ea610b 100644 --- a/config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml +++ b/config/crd/bases/core.openstack.org_openstackcontrolplanes.yaml @@ -10879,6 +10879,8 @@ spec: format: int32 minimum: 0 type: integer + foo: + type: integer override: properties: service: @@ -14692,6 +14694,8 @@ spec: type: string type: object type: array + required: + - foo type: object type: object type: object