1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-08 18:15:48 +00:00

fix: enum values for ValidationFailureActionOverride (#5835)

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 19:31:51 +01:00 committed by GitHub
parent c429f845dd
commit 0092f4aa0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 1 deletions

View file

@ -29,7 +29,7 @@ func (a ValidationFailureAction) Audit() bool {
}
type ValidationFailureActionOverride struct {
// +kubebuilder:validation:Enum=audit;enforce
// +kubebuilder:validation:Enum=audit;enforce;Audit;Enforce
Action ValidationFailureAction `json:"action,omitempty" yaml:"action,omitempty"`
Namespaces []string `json:"namespaces,omitempty" yaml:"namespaces,omitempty"`
}

View file

@ -6662,6 +6662,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -13020,6 +13022,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -19861,6 +19865,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -26221,6 +26227,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:

View file

@ -3260,6 +3260,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -9618,6 +9620,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:

View file

@ -3261,6 +3261,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -9621,6 +9623,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:

View file

@ -6735,6 +6735,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -13093,6 +13095,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -19936,6 +19940,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items:
@ -26296,6 +26302,8 @@ spec:
enum:
- audit
- enforce
- Audit
- Enforce
type: string
namespaces:
items: