diff --git a/api/kyverno/v1/clusterpolicy_types.go b/api/kyverno/v1/clusterpolicy_types.go index 4e265488d6..88d6d9e623 100644 --- a/api/kyverno/v1/clusterpolicy_types.go +++ b/api/kyverno/v1/clusterpolicy_types.go @@ -15,7 +15,7 @@ import ( // +kubebuilder:subresource:status // +kubebuilder:resource:path=clusterpolicies,scope="Cluster",shortName=cpol // +kubebuilder:printcolumn:name="Background",type="string",JSONPath=".spec.background" -// +kubebuilder:printcolumn:name="Action",type="string",JSONPath=".spec.validationFailureAction" +// +kubebuilder:printcolumn:name="Validate Action",type="string",JSONPath=".spec.validationFailureAction" // +kubebuilder:printcolumn:name="Failure Policy",type="string",JSONPath=".spec.failurePolicy",priority=1 // +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.ready` diff --git a/api/kyverno/v1/policy_types.go b/api/kyverno/v1/policy_types.go index b413f3b81d..f724e0203c 100755 --- a/api/kyverno/v1/policy_types.go +++ b/api/kyverno/v1/policy_types.go @@ -13,7 +13,7 @@ import ( // +kubebuilder:object:root=true // +kubebuilder:subresource:status // +kubebuilder:printcolumn:name="Background",type="string",JSONPath=".spec.background" -// +kubebuilder:printcolumn:name="Action",type="string",JSONPath=".spec.validationFailureAction" +// +kubebuilder:printcolumn:name="Validate Action",type="string",JSONPath=".spec.validationFailureAction" // +kubebuilder:printcolumn:name="Failure Policy",type="string",JSONPath=".spec.failurePolicy",priority=1 // +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.ready` // +kubebuilder:resource:shortName=pol diff --git a/charts/kyverno/templates/crds.yaml b/charts/kyverno/templates/crds.yaml index c9d37d06ef..59949fd190 100644 --- a/charts/kyverno/templates/crds.yaml +++ b/charts/kyverno/templates/crds.yaml @@ -30,7 +30,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy @@ -4219,7 +4219,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy diff --git a/config/crds/kyverno.io_clusterpolicies.yaml b/config/crds/kyverno.io_clusterpolicies.yaml index 1054a64f0c..4db5a65182 100644 --- a/config/crds/kyverno.io_clusterpolicies.yaml +++ b/config/crds/kyverno.io_clusterpolicies.yaml @@ -22,7 +22,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy diff --git a/config/crds/kyverno.io_policies.yaml b/config/crds/kyverno.io_policies.yaml index 981ec4bcbb..d88de35dec 100644 --- a/config/crds/kyverno.io_policies.yaml +++ b/config/crds/kyverno.io_policies.yaml @@ -22,7 +22,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy diff --git a/config/install.yaml b/config/install.yaml index 387a66f938..3517068ab0 100644 --- a/config/install.yaml +++ b/config/install.yaml @@ -39,7 +39,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy @@ -6587,7 +6587,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy diff --git a/config/install_debug.yaml b/config/install_debug.yaml index 917ced7bf7..60979f0332 100644 --- a/config/install_debug.yaml +++ b/config/install_debug.yaml @@ -37,7 +37,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy @@ -6581,7 +6581,7 @@ spec: name: Background type: string - jsonPath: .spec.validationFailureAction - name: Action + name: Validate Action type: string - jsonPath: .spec.failurePolicy name: Failure Policy