From fc38ae65b6c416cd46898f6380a13c0731b1369b Mon Sep 17 00:00:00 2001 From: James Slagle Date: Thu, 6 Jun 2024 16:56:14 -0400 Subject: [PATCH] Fix dataSources json The json field should be dataSources not datasources Signed-off-by: James Slagle --- .../dataplane.openstack.org_openstackdataplaneservices.yaml | 2 +- api/v1beta1/openstackdataplaneservice_types.go | 2 +- .../dataplane.openstack.org_openstackdataplaneservices.yaml | 2 +- docs/assemblies/custom_resources.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/bases/dataplane.openstack.org_openstackdataplaneservices.yaml b/api/bases/dataplane.openstack.org_openstackdataplaneservices.yaml index b4e92bd92..b151b3c77 100644 --- a/api/bases/dataplane.openstack.org_openstackdataplaneservices.yaml +++ b/api/bases/dataplane.openstack.org_openstackdataplaneservices.yaml @@ -46,7 +46,7 @@ spec: items: type: string type: array - datasources: + dataSources: items: properties: configMapRef: diff --git a/api/v1beta1/openstackdataplaneservice_types.go b/api/v1beta1/openstackdataplaneservice_types.go index ca4b16326..bda78366a 100644 --- a/api/v1beta1/openstackdataplaneservice_types.go +++ b/api/v1beta1/openstackdataplaneservice_types.go @@ -68,7 +68,7 @@ type OpenStackDataPlaneServiceSpec struct { // DataSources list of DataSource objects to mount as ExtraMounts for the // OpenStackAnsibleEE - DataSources []DataSource `json:"datasources,omitempty"` + DataSources []DataSource `json:"dataSources,omitempty"` // TLSCert tls certs to be generated // +kubebuilder:validation:Optional diff --git a/config/crd/bases/dataplane.openstack.org_openstackdataplaneservices.yaml b/config/crd/bases/dataplane.openstack.org_openstackdataplaneservices.yaml index b4e92bd92..b151b3c77 100644 --- a/config/crd/bases/dataplane.openstack.org_openstackdataplaneservices.yaml +++ b/config/crd/bases/dataplane.openstack.org_openstackdataplaneservices.yaml @@ -46,7 +46,7 @@ spec: items: type: string type: array - datasources: + dataSources: items: properties: configMapRef: diff --git a/docs/assemblies/custom_resources.adoc b/docs/assemblies/custom_resources.adoc index 644440edc..616dfb916 100644 --- a/docs/assemblies/custom_resources.adoc +++ b/docs/assemblies/custom_resources.adoc @@ -309,7 +309,7 @@ OpenStackDataPlaneServiceSpec defines the desired state of OpenStackDataPlaneSer | []string | false -| datasources +| dataSources | DataSources list of DataSource objects to mount as ExtraMounts for the OpenStackAnsibleEE | []<> | false