mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
fix: default value for validationFailureAction (#5832)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
8572d53cc9
commit
eabd7a238b
7 changed files with 34 additions and 34 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -167,7 +167,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -508,7 +508,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -3609,7 +3609,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -5806,7 +5806,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -6031,7 +6031,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
@ -6861,7 +6861,7 @@ ValidationFailureAction
|
|||
<p>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”.</p>
|
||||
Allowed values are audit or enforce. The default value is “Audit”.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue