K8s-config-connector: Age print column gone in 1.36.0

Created on 25 Jan 2021  路  3Comments  路  Source: GoogleCloudPlatform/k8s-config-connector

Describe the bug
With the new Ready print column introduced in 1.36.0 the default Age column disappeared. While the new columns are a fantastic improvement it would be nice to get Age back and also maybe lastTransitionTime for the Ready condition.

For example, assuming controller-tools are used:

// +kubebuilder:printcolumn:name="Status age",type="date",JSONPath=".status.conditions[?(@.type=='Ready')].lastTransitionTime"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

ConfigConnector Version
1.36.0

To Reproduce
kubectl get storagebucket

bug

Most helpful comment

New output in this week's release (1.37.0):

$ kubectl get -f config/samples/resources/iampolicymember/pubsub-admin-policy-member/ --namespace ns-1 
NAME                                                                           AGE    READY   STATUS         STATUS AGE
iampolicymember.iam.cnrm.cloud.google.com/iampolicymember-sample-pubsubadmin   3h9m   False   UpdateFailed   102s

NAME                                                                     AGE    READY   STATUS     STATUS AGE
iamserviceaccount.iam.cnrm.cloud.google.com/iampolicymember-dep-pubsub   3h9m   True    UpToDate   79s

NAME                                                                       AGE    READY   STATUS     STATUS AGE
pubsubtopic.pubsub.cnrm.cloud.google.com/iampolicymember-dep-pubsubadmin   3h9m   True    UpToDate   5m48s

All 3 comments

Hello @yhrn thanks for this feedback. Age will be brought back in next week's release.

New output in this week's release (1.37.0):

$ kubectl get -f config/samples/resources/iampolicymember/pubsub-admin-policy-member/ --namespace ns-1 
NAME                                                                           AGE    READY   STATUS         STATUS AGE
iampolicymember.iam.cnrm.cloud.google.com/iampolicymember-sample-pubsubadmin   3h9m   False   UpdateFailed   102s

NAME                                                                     AGE    READY   STATUS     STATUS AGE
iamserviceaccount.iam.cnrm.cloud.google.com/iampolicymember-dep-pubsub   3h9m   True    UpToDate   79s

NAME                                                                       AGE    READY   STATUS     STATUS AGE
pubsubtopic.pubsub.cnrm.cloud.google.com/iampolicymember-dep-pubsubadmin   3h9m   True    UpToDate   5m48s

1.37.0 is available!

Was this page helpful?
0 / 5 - 0 ratings