diff --git a/openapi/generated_openapi/zz_generated.openapi.go b/openapi/generated_openapi/zz_generated.openapi.go index 1b7063dd42f..7431d8b4873 100644 --- a/openapi/generated_openapi/zz_generated.openapi.go +++ b/openapi/generated_openapi/zz_generated.openapi.go @@ -61906,7 +61906,7 @@ func schema_openshift_api_operator_v1alpha1_ClusterAPIInstallerRevision(ref comm }, }, SchemaProps: spec.SchemaProps{ - Description: "components is list of components which will be installed by this revision. Components will be installed in the order they are listed.\n\nThe maximum number of components is 32.", + Description: "components is a list of components which will be installed by this revision. Components will be installed in the order they are listed. If omitted no components will be installed.\n\nThe maximum number of components is 32.", Type: []string{"array"}, Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ @@ -61919,7 +61919,7 @@ func schema_openshift_api_operator_v1alpha1_ClusterAPIInstallerRevision(ref comm }, }, }, - Required: []string{"name", "revision", "contentID", "components"}, + Required: []string{"name", "revision", "contentID"}, }, VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ diff --git a/operator/v1alpha1/types_clusterapi.go b/operator/v1alpha1/types_clusterapi.go index c38fbaf97ee..5816f936283 100644 --- a/operator/v1alpha1/types_clusterapi.go +++ b/operator/v1alpha1/types_clusterapi.go @@ -144,12 +144,13 @@ type ClusterAPIInstallerRevision struct { // +optional UnmanagedCustomResourceDefinitions []string `json:"unmanagedCustomResourceDefinitions,omitempty"` - // components is list of components which will be installed by this - // revision. Components will be installed in the order they are listed. + // components is a list of components which will be installed by this + // revision. Components will be installed in the order they are listed. If + // omitted no components will be installed. // // The maximum number of components is 32. // - // +required + // +optional // +listType=atomic // +kubebuilder:validation:MinItems=1 // +kubebuilder:validation:MaxItems=32 diff --git a/operator/v1alpha1/zz_generated.crd-manifests/0000_30_cluster-api_01_clusterapis.crd.yaml b/operator/v1alpha1/zz_generated.crd-manifests/0000_30_cluster-api_01_clusterapis.crd.yaml index 42bcab9c194..6516a3ef0dd 100644 --- a/operator/v1alpha1/zz_generated.crd-manifests/0000_30_cluster-api_01_clusterapis.crd.yaml +++ b/operator/v1alpha1/zz_generated.crd-manifests/0000_30_cluster-api_01_clusterapis.crd.yaml @@ -121,8 +121,9 @@ spec: properties: components: description: |- - components is list of components which will be installed by this - revision. Components will be installed in the order they are listed. + components is a list of components which will be installed by this + revision. Components will be installed in the order they are listed. If + omitted no components will be installed. The maximum number of components is 32. items: @@ -224,7 +225,6 @@ spec: type: array x-kubernetes-list-type: atomic required: - - components - contentID - name - revision diff --git a/operator/v1alpha1/zz_generated.featuregated-crd-manifests/clusterapis.operator.openshift.io/ClusterAPIMachineManagement.yaml b/operator/v1alpha1/zz_generated.featuregated-crd-manifests/clusterapis.operator.openshift.io/ClusterAPIMachineManagement.yaml index 249b6ecc48c..1b2bd420876 100644 --- a/operator/v1alpha1/zz_generated.featuregated-crd-manifests/clusterapis.operator.openshift.io/ClusterAPIMachineManagement.yaml +++ b/operator/v1alpha1/zz_generated.featuregated-crd-manifests/clusterapis.operator.openshift.io/ClusterAPIMachineManagement.yaml @@ -122,8 +122,9 @@ spec: properties: components: description: |- - components is list of components which will be installed by this - revision. Components will be installed in the order they are listed. + components is a list of components which will be installed by this + revision. Components will be installed in the order they are listed. If + omitted no components will be installed. The maximum number of components is 32. items: @@ -225,7 +226,6 @@ spec: type: array x-kubernetes-list-type: atomic required: - - components - contentID - name - revision diff --git a/operator/v1alpha1/zz_generated.swagger_doc_generated.go b/operator/v1alpha1/zz_generated.swagger_doc_generated.go index 94d48269d40..92cef1421a6 100644 --- a/operator/v1alpha1/zz_generated.swagger_doc_generated.go +++ b/operator/v1alpha1/zz_generated.swagger_doc_generated.go @@ -171,7 +171,7 @@ var map_ClusterAPIInstallerRevision = map[string]string{ "revision": "revision is a monotonically increasing number that is assigned to a revision.", "contentID": "contentID uniquely identifies the content of this revision. The contentID must be between 1 and 255 characters long.", "unmanagedCustomResourceDefinitions": "unmanagedCustomResourceDefinitions is a list of the names of ClusterResourceDefinition (CRD) objects which are included in this revision, but which should not be installed or updated. If not set, all CRDs in the revision will be managed by the CAPI operator.", - "components": "components is list of components which will be installed by this revision. Components will be installed in the order they are listed.\n\nThe maximum number of components is 32.", + "components": "components is a list of components which will be installed by this revision. Components will be installed in the order they are listed. If omitted no components will be installed.\n\nThe maximum number of components is 32.", } func (ClusterAPIInstallerRevision) SwaggerDoc() map[string]string { diff --git a/payload-manifests/crds/0000_30_cluster-api_01_clusterapis.crd.yaml b/payload-manifests/crds/0000_30_cluster-api_01_clusterapis.crd.yaml index 42bcab9c194..6516a3ef0dd 100644 --- a/payload-manifests/crds/0000_30_cluster-api_01_clusterapis.crd.yaml +++ b/payload-manifests/crds/0000_30_cluster-api_01_clusterapis.crd.yaml @@ -121,8 +121,9 @@ spec: properties: components: description: |- - components is list of components which will be installed by this - revision. Components will be installed in the order they are listed. + components is a list of components which will be installed by this + revision. Components will be installed in the order they are listed. If + omitted no components will be installed. The maximum number of components is 32. items: @@ -224,7 +225,6 @@ spec: type: array x-kubernetes-list-type: atomic required: - - components - contentID - name - revision