1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2024-12-14 11:57:48 +00:00

fix: remove yaml markers from api (#11039)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2024-09-09 00:15:04 +02:00 committed by GitHub
parent 46b32bd443
commit 92afacd29a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -476,7 +476,7 @@ type Validation struct {
// AllowExistingViolations allows prexisting violating resources to continue violating a policy. // AllowExistingViolations allows prexisting violating resources to continue violating a policy.
// +kubebuilder:validation:Optional // +kubebuilder:validation:Optional
// +kubebuilder:default=true // +kubebuilder:default=true
AllowExistingViolations *bool `json:"allowExistingViolations,omitempty" yaml:"allowExistingViolations,omitempty"` AllowExistingViolations *bool `json:"allowExistingViolations,omitempty"`
// Message specifies a custom message to be displayed on failure. // Message specifies a custom message to be displayed on failure.
// +optional // +optional