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:
parent
c429f845dd
commit
0092f4aa0b
5 changed files with 25 additions and 1 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue