mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
feat: stop serving v2alpha1 cleanup policies (#9270)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
2a9262c325
commit
1ef82ab530
5 changed files with 8 additions and 14 deletions
|
@ -34,7 +34,7 @@ import (
|
|||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:printcolumn:name="Schedule",type=string,JSONPath=".spec.schedule"
|
||||
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
// +kubebuilder:deprecatedversion
|
||||
// +kubebuilder:unservedversion
|
||||
|
||||
// CleanupPolicy defines a rule for resource cleanup.
|
||||
type CleanupPolicy kyvernov2beta1.CleanupPolicy
|
||||
|
@ -106,7 +106,7 @@ type CleanupPolicyList kyvernov2beta1.CleanupPolicyList
|
|||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:printcolumn:name="Schedule",type=string,JSONPath=".spec.schedule"
|
||||
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
|
||||
// +kubebuilder:deprecatedversion
|
||||
// +kubebuilder:unservedversion
|
||||
|
||||
// ClusterCleanupPolicy defines rule for resource cleanup.
|
||||
type ClusterCleanupPolicy kyvernov2beta1.ClusterCleanupPolicy
|
||||
|
|
|
@ -2495,7 +2495,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -3726,7 +3725,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
@ -7470,7 +7469,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -8701,7 +8699,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
|
|
@ -1266,7 +1266,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -2497,7 +2496,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
|
|
@ -1266,7 +1266,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -2497,7 +2496,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
|
|
@ -2706,7 +2706,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -3937,7 +3936,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
@ -7687,7 +7686,6 @@ spec:
|
|||
- jsonPath: .metadata.creationTimestamp
|
||||
name: Age
|
||||
type: date
|
||||
deprecated: true
|
||||
name: v2alpha1
|
||||
schema:
|
||||
openAPIV3Schema:
|
||||
|
@ -8918,7 +8916,7 @@ spec:
|
|||
required:
|
||||
- spec
|
||||
type: object
|
||||
served: true
|
||||
served: false
|
||||
storage: false
|
||||
subresources:
|
||||
status: {}
|
||||
|
|
Loading…
Reference in a new issue