Skip to content

Commit

Permalink
Temperarily remove validation on service type
Browse files Browse the repository at this point in the history
Due to the known issue in the upstream package:
kubernetes-sigs/controller-tools#342, this commit removes the
validation on the service types.

Note: this is a temperary work around, need to add these validations
back once we validate the fix for the subfunctions.

Signed-off-by: Yuxing Jiang <Yuxing.Jiang@windriver.com>
  • Loading branch information
yjian118 committed May 23, 2022
1 parent 3306453 commit 76ead33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion api/v1/system_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ type StorageBackend struct {
// Services is a list of services to enable for this backend instance. Each
// backend type supports a limited set
// of services. Refer to customer documentation for more information.
// +kubebuilder:validation:Enum=cinder;glance;nova;swift;rbd-provisioner
Services []string `json:"services,omitempty"`

// ReplicationFactor is the number of storage hosts required in each
Expand Down
6 changes: 0 additions & 6 deletions config/crd/bases/starlingx.windriver.com_systems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,12 +271,6 @@ spec:
this backend instance. Each backend type supports a limited
set of services. Refer to customer documentation for
more information.
enum:
- cinder
- glance
- nova
- swift
- rbd-provisioner
items:
type: string
type: array
Expand Down

0 comments on commit 76ead33

Please sign in to comment.