Skip to content

Commit 5727c02

Browse files
committed
Add age also to v1beta1 IPAM types
Signed-off-by: Stefan Büringer [email protected]
1 parent 83d7969 commit 5727c02

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

config/crd/bases/ipam.cluster.x-k8s.io_ipaddressclaims.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/ipam.cluster.x-k8s.io_ipaddresses.yaml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

exp/ipam/api/v1beta1/ipaddress_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type IPAddressSpec struct {
4646
// +kubebuilder:printcolumn:name="Address",type="string",JSONPath=".spec.address",description="Address"
4747
// +kubebuilder:printcolumn:name="Pool Name",type="string",JSONPath=".spec.poolRef.name",description="Name of the pool the address is from"
4848
// +kubebuilder:printcolumn:name="Pool Kind",type="string",JSONPath=".spec.poolRef.kind",description="Kind of the pool the address is from"
49+
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of IPAdress"
4950

5051
// IPAddress is the Schema for the ipaddress API.
5152
type IPAddress struct {

exp/ipam/api/v1beta1/ipaddressclaim_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ type IPAddressClaimStatus struct {
4646
// +kubebuilder:storageversion
4747
// +kubebuilder:printcolumn:name="Pool Name",type="string",JSONPath=".spec.poolRef.name",description="Name of the pool to allocate an address from"
4848
// +kubebuilder:printcolumn:name="Pool Kind",type="string",JSONPath=".spec.poolRef.kind",description="Kind of the pool to allocate an address from"
49+
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of IPAdressClaim"
4950

5051
// IPAddressClaim is the Schema for the ipaddressclaim API.
5152
type IPAddressClaim struct {

0 commit comments

Comments
 (0)