Skip to content

Commit

Permalink
k8s: Remove incorrect Age description for CENP
Browse files Browse the repository at this point in the history
The CiliumEgressNatPolicy CRD had an incorrect Age description, copy
pasted from the CiliumIdentity CRD.

Fixes: 141cd63 ("Add custom resource for egress nat gateway policy")
Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno committed Oct 25, 2021
1 parent a00b967 commit 9e0cc6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ spec:
scope: Cluster
versions:
- additionalPrinterColumns:
- description: The age of the identity
jsonPath: .metadata.creationTimestamp
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v2alpha1
Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/apis/cilium.io/v2alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
// +genclient:nonNamespaced
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:resource:categories={cilium,ciliumpolicy},singular="ciliumegressnatpolicy",path="ciliumegressnatpolicies",scope="Cluster"
// +kubebuilder:printcolumn:JSONPath=".metadata.creationTimestamp",description="The age of the identity",name="Age",type=date
// +kubebuilder:printcolumn:JSONPath=".metadata.creationTimestamp",name="Age",type=date
// +kubebuilder:storageversion

type CiliumEgressNATPolicy struct {
Expand Down

0 comments on commit 9e0cc6c

Please sign in to comment.