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

Improve printer column name for validationFailureAction (#4488)

Signed-off-by: Abhishek Kumar <abhishek22512@gmail.com>

Signed-off-by: Abhishek Kumar <abhishek22512@gmail.com>
Co-authored-by: Charles-Edouard Brétéché <charled.breteche@gmail.com>
This commit is contained in:
Abhishek Kumar 2022-09-02 11:03:33 +05:30 committed by GitHub
parent b135edf171
commit 5681a2a2dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 10 deletions

View file

@ -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`

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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