Skip to content
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

Merged
merged 4 commits into from
Dec 1, 2023

Conversation

krancour
Copy link
Member

@krancour krancour commented Dec 1, 2023

Fixes #1198 and another embarrassing issue: s/akuity.com/akuity.io/ in alias label key.

Signed-off-by: Kent <kent.rancourt@gmail.com>
@krancour krancour added this to the v0.3.0 milestone Dec 1, 2023
@krancour krancour self-assigned this Dec 1, 2023
@krancour krancour requested a review from a team as a code owner December 1, 2023 04:42
Copy link

netlify bot commented Dec 1, 2023

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit c03ef0b
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/6569649c92df4d0008f39a6f
😎 Deploy Preview https://deploy-preview-1203.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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>
@krancour krancour force-pushed the krancour/alias-fixes branch from 983da4d to c03ef0b Compare December 1, 2023 04:44
@@ -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`
Copy link
Member Author

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.

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (af2d79a) 48.08% compared to head (c03ef0b) 48.08%.
Report is 1 commits behind head on main.

Files Patch % Lines
internal/controller/warehouses/aliases.go 0.00% 1 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@krancour krancour added this pull request to the merge queue Dec 1, 2023
Merged via the queue into akuity:main with commit fc6e5e0 Dec 1, 2023
14 checks passed
@krancour krancour deleted the krancour/alias-fixes branch December 1, 2023 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubectl get freight should show aliases in printer column
3 participants