Skip to content

Feature request: -o json #1534

Closed
Closed

Description

@sputnick

Barring no restful api for Tiller (and some logic only in helm cli) we have resorted to wrapping helm cli as "restful service". This works fine but some commands like "list", "search", "status"... are not very machine readable. It would be great to have a json output option like kubectl does with "-o json".

Activity

  1. added this to the milestone on Nov 14, 2016
  2. jbehling commented on Nov 18, 2016

    @jbehling

    We definitely need this. Right we're driving kubectl directly from Jenkins to do rolling updates, migrating to helm will help reduce a lot of the complexity involved scenarios where there are multiple deployments to update, however losing machine parseable output defeats the purpose.

  3. technosophos commented on Nov 21, 2016

    @technosophos
    Member

    I think we could refactor the client output layer to have formatters for each command, with the default being "text" and other options being "yaml" and "json".

  4. TerraTech commented on Nov 26, 2016

    @TerraTech

    @sputnick It was a bit of a surprise that Tiller didn't have a full on RESTful remote API. Have you published any of your RESTful work yet because we are looking at having to go down this road as well.

  5. kjpopov commented on Mar 2, 2017

    @kjpopov

    -o yaml will be also great! 👍

  6. tcolgate commented on May 11, 2017

    @tcolgate

    -o go-template from kubectl would be handy too (but json is probably the minimum)

  7. added
    help wanted
    on Aug 18, 2017
  8. rohancme commented on Dec 23, 2017

    @rohancme

    Is this still required and could I work on it? I'm looking for something to work on as a new contributor :)

  9. bacongobbler commented on Dec 24, 2017

    @bacongobbler
    Member

    I think #2950 handles helm list but you could take a look at that PR and port it over to other relevant commands!

  10. fejta-bot commented on Mar 24, 2018

    @fejta-bot

    Issues go stale after 90d of inactivity.
    Mark the issue as fresh with /remove-lifecycle stale.
    Stale issues rot after an additional 30d of inactivity and eventually close.

    If this issue is safe to close now please do so with /close.

    Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
    /lifecycle stale

  11. TerraTech commented on Apr 7, 2018

    @TerraTech

    /remove-lifecycle stale

    bump

  12. bacongobbler commented on Jun 12, 2018

    @bacongobbler
    Member

    Implemented via #3923. Any other top-level commands where --format makes sense should open a new ticket. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurehelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions