Skip to content

helm-3.0.0-beta.3: unable to return non-zero exit codes other than 1 from helm plugins #6384

Closed

Description

@mumoshu

While testing helm-diff with helm-3.0.0-beta.3, I found that there's a regression - it is missing the fix for #4170.

helm-diff needs to return 1 on errors and 2 on changes detected. helm 2.x had also been returning 1 for all the non-zero exit codes from plugins but it was fixed via #4367.

I've confirmed that it isn't fixed for helm v3 and reading code from the dev-v3 branch I've also confirmed that it misses changes from #4367.

Can we just cherry-pick the fix into the helm3 dev branch?


Output of helm version:

version.BuildInfo{Version:"v3.0.0-beta.3", GitCommit:"5cb923eecbe80d1ad76399aee234717c11931d9a", GitTreeState:"clean", GoVersion:"go1.12.9"}

Activity

  1. added a commit that references this issue on Sep 7, 2019
    6e9211e
  2. karuppiah7890 commented on Sep 8, 2019

    @karuppiah7890
    Contributor

    For some reason this didn't close even though the PR #6385 has been merged and has Fixes keyword.

    This issue is fixed and can be closed!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions