diff --git a/api/v1/clusterextension_types.go b/api/v1/clusterextension_types.go index 696966c5a..691828ca3 100644 --- a/api/v1/clusterextension_types.go +++ b/api/v1/clusterextension_types.go @@ -321,7 +321,7 @@ type CatalogSource struct { // // When this field is omitted, the default value is "CatalogProvided". // - // +kubebuilder:validation:Enum:=CatalogProvided;SelfCertified + // +kubebuilder:validation:Enum:=CatalogProvided;SelfCertified;FooBar // +kubebuilder:default:=CatalogProvided // +optional UpgradeConstraintPolicy UpgradeConstraintPolicy `json:"upgradeConstraintPolicy,omitempty"` diff --git a/config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml b/config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml index a908b256d..190d320e5 100644 --- a/config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml +++ b/config/base/crd/bases/olm.operatorframework.io_clusterextensions.yaml @@ -351,6 +351,7 @@ spec: enum: - CatalogProvided - SelfCertified + - FooBar type: string version: description: |-