From 92afacd29a160487309974abc53052568e47e7db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Mon, 9 Sep 2024 00:15:04 +0200 Subject: [PATCH] fix: remove yaml markers from api (#11039) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- api/kyverno/v1/common_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/kyverno/v1/common_types.go b/api/kyverno/v1/common_types.go index c3f3193e38..eb56dff894 100644 --- a/api/kyverno/v1/common_types.go +++ b/api/kyverno/v1/common_types.go @@ -476,7 +476,7 @@ type Validation struct { // AllowExistingViolations allows prexisting violating resources to continue violating a policy. // +kubebuilder:validation:Optional // +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. // +optional