diff --git a/apis/dscinitialization/v1/dscinitialization_types.go b/apis/dscinitialization/v1/dscinitialization_types.go index e9598e89743..821df411fe4 100644 --- a/apis/dscinitialization/v1/dscinitialization_types.go +++ b/apis/dscinitialization/v1/dscinitialization_types.go @@ -79,7 +79,7 @@ type DevFlags struct { // Custom manifests uri for odh-manifests // +optional ManifestsUri string `json:"manifestsUri,omitempty"` - // +kubebuilder:validation:Enum=devel;development;prod;production + // +kubebuilder:validation:Enum=devel;development;prod;production;default // +kubebuilder:default="production" LogMode string `json:"logmode,omitempty"` } diff --git a/bundle/manifests/dscinitialization.opendatahub.io_dscinitializations.yaml b/bundle/manifests/dscinitialization.opendatahub.io_dscinitializations.yaml index 97b4bbbd4d0..218d3e4a697 100644 --- a/bundle/manifests/dscinitialization.opendatahub.io_dscinitializations.yaml +++ b/bundle/manifests/dscinitialization.opendatahub.io_dscinitializations.yaml @@ -72,6 +72,7 @@ spec: - development - prod - production + - default type: string manifestsUri: description: Custom manifests uri for odh-manifests diff --git a/config/crd/bases/dscinitialization.opendatahub.io_dscinitializations.yaml b/config/crd/bases/dscinitialization.opendatahub.io_dscinitializations.yaml index 0bfe61be9ee..7c191a79027 100644 --- a/config/crd/bases/dscinitialization.opendatahub.io_dscinitializations.yaml +++ b/config/crd/bases/dscinitialization.opendatahub.io_dscinitializations.yaml @@ -72,6 +72,7 @@ spec: - development - prod - production + - default type: string manifestsUri: description: Custom manifests uri for odh-manifests diff --git a/docs/api-overview.md b/docs/api-overview.md index 1d915d31b24..53959d76a51 100644 --- a/docs/api-overview.md +++ b/docs/api-overview.md @@ -669,7 +669,7 @@ _Appears in:_ | Field | Description | Default | Validation | | --- | --- | --- | --- | | `manifestsUri` _string_ | Custom manifests uri for odh-manifests | | | -| `logmode` _string_ | | production | Enum: [devel development prod production]
| +| `logmode` _string_ | | production | Enum: [devel development prod production default]
| #### Monitoring