diff --git a/api/v1/storagecluster_types.go b/api/v1/storagecluster_types.go index 3bb70c6d10..36bd669359 100644 --- a/api/v1/storagecluster_types.go +++ b/api/v1/storagecluster_types.go @@ -158,7 +158,6 @@ type ExternalStorageClusterSpec struct { // +optional Enable bool `json:"enable,omitempty"` - //+kubebuilder:default:=rhcs //+kubebuilder:validation:Enum=ocs;rhcs // StorageProviderKind Identify the type of storage provider cluster this consumer cluster is going to connect to. StorageProviderKind ExternalStorageKind `json:"storageProviderKind,omitempty"` diff --git a/config/crd/bases/ocs.openshift.io_storageclusters.yaml b/config/crd/bases/ocs.openshift.io_storageclusters.yaml index 373cb1f20e..87ba3cd0f4 100644 --- a/config/crd/bases/ocs.openshift.io_storageclusters.yaml +++ b/config/crd/bases/ocs.openshift.io_storageclusters.yaml @@ -316,7 +316,6 @@ spec: pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true storageProviderKind: - default: rhcs description: StorageProviderKind Identify the type of storage provider cluster this consumer cluster is going to connect to. enum: diff --git a/deploy/bundle/manifests/storagecluster.crd.yaml b/deploy/bundle/manifests/storagecluster.crd.yaml index c388997211..9cc20ec100 100644 --- a/deploy/bundle/manifests/storagecluster.crd.yaml +++ b/deploy/bundle/manifests/storagecluster.crd.yaml @@ -314,7 +314,6 @@ spec: pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true storageProviderKind: - default: rhcs description: StorageProviderKind Identify the type of storage provider cluster this consumer cluster is going to connect to. enum: diff --git a/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml b/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml index 373cb1f20e..87ba3cd0f4 100644 --- a/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml +++ b/deploy/csv-templates/crds/ocs/ocs.openshift.io_storageclusters.yaml @@ -316,7 +316,6 @@ spec: pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true storageProviderKind: - default: rhcs description: StorageProviderKind Identify the type of storage provider cluster this consumer cluster is going to connect to. enum: