diff --git a/api/kyverno/v1/spec_types.go b/api/kyverno/v1/spec_types.go index c48232c05d..f192dfb92e 100644 --- a/api/kyverno/v1/spec_types.go +++ b/api/kyverno/v1/spec_types.go @@ -57,10 +57,10 @@ type Spec struct { // ValidationFailureAction defines if a validation policy rule violation should block // the admission review request (enforce), or allow (audit) the admission review request // and report an error in a policy report. Optional. - // Allowed values are audit or enforce. The default value is "audit". + // Allowed values are audit or enforce. The default value is "Audit". // +optional // +kubebuilder:validation:Enum=audit;enforce;Audit;Enforce - // +kubebuilder:default=audit + // +kubebuilder:default=Audit ValidationFailureAction ValidationFailureAction `json:"validationFailureAction,omitempty" yaml:"validationFailureAction,omitempty"` // ValidationFailureActionOverrides is a Cluster Policy attribute that specifies ValidationFailureAction diff --git a/api/kyverno/v2beta1/spec_types.go b/api/kyverno/v2beta1/spec_types.go index 1e5f3583bd..a4b5d9a1f3 100644 --- a/api/kyverno/v2beta1/spec_types.go +++ b/api/kyverno/v2beta1/spec_types.go @@ -30,10 +30,10 @@ type Spec struct { // ValidationFailureAction defines if a validation policy rule violation should block // the admission review request (enforce), or allow (audit) the admission review request // and report an error in a policy report. Optional. - // Allowed values are audit or enforce. The default value is "audit". + // Allowed values are audit or enforce. The default value is "Audit". // +optional // +kubebuilder:validation:Enum=audit;enforce;Audit;Enforce - // +kubebuilder:default=audit + // +kubebuilder:default=Audit ValidationFailureAction kyvernov1.ValidationFailureAction `json:"validationFailureAction,omitempty" yaml:"validationFailureAction,omitempty"` // ValidationFailureActionOverrides is a Cluster Policy attribute that specifies ValidationFailureAction diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml index 4141f98321..d313a4e0fe 100644 --- a/charts/kyverno/templates/crds.yaml +++ b/charts/kyverno/templates/crds.yaml @@ -6638,12 +6638,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -12996,12 +12996,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -19837,12 +19837,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -26197,12 +26197,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce diff --git a/config/crds/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno.io_clusterpolicies.yaml index bec83ef9b9..7b4f18d127 100644 --- a/config/crds/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno.io_clusterpolicies.yaml @@ -3236,12 +3236,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -9594,12 +9594,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce diff --git a/config/crds/kyverno.io_policies.yaml b/config/crds/kyverno.io_policies.yaml index a9e6fd9cb5..513db9c1a9 100644 --- a/config/crds/kyverno.io_policies.yaml +++ b/config/crds/kyverno.io_policies.yaml @@ -3237,12 +3237,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -9597,12 +9597,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce diff --git a/config/install.yaml b/config/install.yaml index bb494ca738..c134ea8ccd 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -6709,12 +6709,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -13067,12 +13067,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -19910,12 +19910,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce @@ -26270,12 +26270,12 @@ spec: to "true", it must be set to "false" to disable the validation checks. type: boolean validationFailureAction: - default: audit + default: Audit description: ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. Allowed values are audit or enforce. - The default value is "audit". + The default value is "Audit". enum: - audit - enforce diff --git a/docs/user/crd/index.html b/docs/user/crd/index.html index c9ec9e3242..e95a358e60 100644 --- a/docs/user/crd/index.html +++ b/docs/user/crd/index.html @@ -167,7 +167,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.

@@ -508,7 +508,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.

@@ -3609,7 +3609,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.

@@ -5806,7 +5806,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.

@@ -6031,7 +6031,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.

@@ -6861,7 +6861,7 @@ ValidationFailureAction

ValidationFailureAction defines if a validation policy rule violation should block the admission review request (enforce), or allow (audit) the admission review request and report an error in a policy report. Optional. -Allowed values are audit or enforce. The default value is “audit”.

+Allowed values are audit or enforce. The default value is “Audit”.