Skip to content

Commit 29d348d

Browse files
authored
Add AGE column to crossplane crd template. (#436)
Signed-off-by: Bob Haddleton <[email protected]>
1 parent a6ae207 commit 29d348d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/crossplane/apis/crd.go.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ type {{ .CRD.Kind }}Status struct {
6363
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
6464
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
6565
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
66+
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
6667
// +kubebuilder:subresource:status
6768
// +kubebuilder:storageversion
6869
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

0 commit comments

Comments
 (0)