1
0
Fork 0
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:
Charles-Edouard Brétéché 2023-01-02 16:16:13 +01:00 committed by GitHub
parent 8572d53cc9
commit eabd7a238b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 34 additions and 34 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</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 &ldquo;audit&rdquo;.</p>
Allowed values are audit or enforce. The default value is &ldquo;Audit&rdquo;.</p>
</td>
</tr>
<tr>