You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Listing releases (helm list) with short listing format (--short) and json output (--output json) gives unexpected results. #7749
When I try to list all releases for a specified namespace with json output and short (quiet) listing format, then output is no json.
It seems that combination of these two parameters breaks specified output in helm3. If these parameters are used separately, then it works as expected (either json output or short listing). This behavior is correct in helm2.
Below examples, assuming that we have 2 releases named 'test1' and 'test2' in 'test' namespace.
Helm 3:
Command: helm list --namespace test --short --output json or helm list --namespace test -q -o json or other combinations
Output:
test1
test2
there is only short listing format (missing json output)
Helm 2:
Command: helm list --namespace test --short --output json
Output: ["test1","test2"] as expected, short listing format with json output
Activity
mattfarina commentedon Mar 9, 2020
Thanks for the report. I have replicated the issue.
anshulvermapatel commentedon Mar 9, 2020
@mattfarina , I too replicated the issue and am working on a PR, give me some more time.
mattfarina commentedon Mar 9, 2020
@anshulvermapatel great. please ping me to review when you have it.
anshulvermapatel commentedon Mar 9, 2020
@mattfarina , Raised a PR, please review it once you get time.
Thank You, do let me know if there is any change required.
Merge pull request #7753 from anshulvermapatel/helm/7749/helm_list_sh…
mattfarina commentedon Mar 24, 2020
#7753 was merged with a fix for this.
Feat/oci dependencies (#1)
Solve the issue helm#7749 where proper formating was not being done i…
Solve the issue helm#7749 where proper formating was not being done i…
Solve the issue helm#7749 where proper formating was not being done i…
Solve the issue helm#7749 where proper formating was not being done i…