Skip to content

Commit

Permalink
fix: remove yaml markers from api (kyverno#11039)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly authored Sep 8, 2024
1 parent 46b32bd commit 92afacd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/kyverno/v1/common_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92afacd

Please sign in to comment.