-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add alias column when printing freight with kubectl #1203
Conversation
Signed-off-by: Kent <kent.rancourt@gmail.com>
✅ Deploy Preview for docs-kargo-akuity-io ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Kent <kent.rancourt@gmail.com>
Signed-off-by: Kent <kent.rancourt@gmail.com>
Signed-off-by: Kent <kent.rancourt@gmail.com>
983da4d
to
c03ef0b
Compare
@@ -11,6 +11,8 @@ import ( | |||
|
|||
//+kubebuilder:object:root=true | |||
//+kubebuilder:subresource:status | |||
//+kubebuilder:printcolumn:name=Alias,type=string,JSONPath=`.metadata.labels.kargo\.akuity\.io/alias` | |||
//+kubebuilder:printcolumn:name=Age,type=date,JSONPath=`.metadata.creationTimestamp` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you add any column, you're responsible for all of them, except for Name.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1203 +/- ##
=======================================
Coverage 48.08% 48.08%
=======================================
Files 118 118
Lines 8747 8747
=======================================
Hits 4206 4206
Misses 4389 4389
Partials 152 152 ☔ View full report in Codecov by Sentry. |
Fixes #1198 and another embarrassing issue: s/akuity.com/akuity.io/ in alias label key.