Skip to content

Commit

Permalink
Merge pull request red-hat-storage#1438 from iamniting/api
Browse files Browse the repository at this point in the history
api: remove default value of Spec.ExternalStorage.StorageProviderKind
  • Loading branch information
openshift-merge-robot committed Dec 15, 2021
2 parents d5d8fbd + 4599ada commit 14d3d7f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion api/v1/storagecluster_types.go
Expand Up @@ -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"`
Expand Down
1 change: 0 additions & 1 deletion config/crd/bases/ocs.openshift.io_storageclusters.yaml
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion deploy/bundle/manifests/storagecluster.crd.yaml
Expand Up @@ -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:
Expand Down
Expand Up @@ -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:
Expand Down

0 comments on commit 14d3d7f

Please sign in to comment.