Repository navigation
Conversation
When 'helm list --format (text|json|yaml) is run, this will print the list of releases in the specified format. WIP #1534
|
@jascott1 |
|
@rbwsam Sorry I didn't realize that. I guess we can roll with your original suggestion unless someone else has another idea. The |
|
👍 Waiting for this PR to be merged: I've implemented kubectl |
|
is this PR DOA? This is a killer feature.. |
|
If there are any changes required so this can get merged I am happy to oblige. |
|
Thanks @rbwsam. We were all at KubeCon and then ran straight into the holidays. I'm finally coming out of holiday mode. I'll take a look at this now. Thanks for your patience! |
| switch format { | ||
| case "text": | ||
| res = formatText(rels) | ||
| case "short": |
There was a problem hiding this comment.
can you add this to the list of supported output formats in the docstring?
| return err | ||
| } | ||
| fmt.Fprintln(l.out, formatList(rels)) | ||
| fmt.Fprint(l.out, formatted) |
There was a problem hiding this comment.
have you tested this change with the text and short output formats? Looks fine, but just want to make sure that this has been tested.
| releaseMock(&releaseOptions{name: "atlas"}), | ||
| }, | ||
| expected: "- Chart: foo-0.1.0-beta.1\n Name: atlas\n Namespace: default\n Revision: 1\n Status: DEPLOYED\n", | ||
| }, |
There was a problem hiding this comment.
can we add a "short" list format test as well?
|
ping, looks like this PR needs a rebase as well as the above comments. We're cutting v2.8.0 next week so if you'd like to get this PR in, now's a good time to fix it up :) |
|
@rbwsam I'd like to get this into Helm 2.9. I'm happy to support you in cleaning it up or in taking over the work myself. |
|
ping @rbwsam - We'd love to see this go through. Any luck on addressing those comments above? |
|
Have some work made on top of this PR so will make another PR with lunapark and stuff if original poster won't appear in nearest time :) |
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
|
/remove-lifecycle stale |
|
Can this be closed now, since #3923? |
|
yes, thank you @au-phiware for pointing that out. :) |
When 'helm list --format (text|json|yaml) is run, this will print the list
of releases in the specified format.
WIP #1534
Once this is approved I will create more PRs adding this functionality to other commands.