Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#9729 from sbueringer/pr-add-age-to…
Browse files Browse the repository at this point in the history
…-ipam-v1beta1

🌱 Add age also to v1beta1 IPAM types
  • Loading branch information
k8s-ci-robot authored Nov 16, 2023
2 parents 2144ee8 + 5727c02 commit 2e8d738
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/crd/bases/ipam.cluster.x-k8s.io_ipaddressclaims.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions config/crd/bases/ipam.cluster.x-k8s.io_ipaddresses.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions exp/ipam/api/v1beta1/ipaddress_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type IPAddressSpec struct {
// +kubebuilder:printcolumn:name="Address",type="string",JSONPath=".spec.address",description="Address"
// +kubebuilder:printcolumn:name="Pool Name",type="string",JSONPath=".spec.poolRef.name",description="Name of the pool the address is from"
// +kubebuilder:printcolumn:name="Pool Kind",type="string",JSONPath=".spec.poolRef.kind",description="Kind of the pool the address is from"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of IPAdress"

// IPAddress is the Schema for the ipaddress API.
type IPAddress struct {
Expand Down
1 change: 1 addition & 0 deletions exp/ipam/api/v1beta1/ipaddressclaim_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type IPAddressClaimStatus struct {
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Pool Name",type="string",JSONPath=".spec.poolRef.name",description="Name of the pool to allocate an address from"
// +kubebuilder:printcolumn:name="Pool Kind",type="string",JSONPath=".spec.poolRef.kind",description="Kind of the pool to allocate an address from"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of IPAdressClaim"

// IPAddressClaim is the Schema for the ipaddressclaim API.
type IPAddressClaim struct {
Expand Down

0 comments on commit 2e8d738

Please sign in to comment.