diff --git a/api/v1alpha1/account_types.go b/api/v1alpha1/account_types.go index 52c9065..87986d9 100644 --- a/api/v1alpha1/account_types.go +++ b/api/v1alpha1/account_types.go @@ -30,7 +30,7 @@ const ( // AccountSpec defines the desired state of Account type AccountSpec struct { // Type specifies the intended type for this Account object. - // +kubebuilder:validation:Enum=Folder;Account + // +kubebuilder:validation:Enum=folder;account Type AccountType `json:"type"` // Namespace is the account should take ownership of diff --git a/chart/crds/core.openmfp.io_accounts.yaml b/chart/crds/core.openmfp.io_accounts.yaml index 607592d..2c168f3 100644 --- a/chart/crds/core.openmfp.io_accounts.yaml +++ b/chart/crds/core.openmfp.io_accounts.yaml @@ -68,8 +68,8 @@ spec: type: description: Type specifies the intended type for this Account object. enum: - - Folder - - Account + - folder + - account type: string required: - creator diff --git a/config/samples/core_v1alpha1_account.yaml b/config/samples/core_v1alpha1_account.yaml index de353b3..abfbbf0 100644 --- a/config/samples/core_v1alpha1_account.yaml +++ b/config/samples/core_v1alpha1_account.yaml @@ -4,6 +4,6 @@ metadata: name: new-account-debug1 namespace: default spec: - accountRole: Folder + accountRole: folder displayName: New Demo Account creator: bastian.echterhoelter@sap.com \ No newline at end of file