jghiloni / helm-chart-resource

Interact with a helm charts using Concourse
https://concourse-ci.org
Apache License 2.0
3 stars 3 forks source link

Error: unknown command "push" for "helm" #3

Open petewall opened 2 years ago

petewall commented 2 years ago

The container for this resource installs Helm at version 3.2.2, but installs the chartmuseum push plugin at head:

RUN helm plugin install https://github.com/chartmuseum/helm-push.git

As of Helm 3.7, the helm push command is built-in, so the chartmuseum changed to helm cm-push: https://github.com/chartmuseum/helm-push/issues/116

This has led to my pipelines failing with this error:

Error: unknown command "push" for "helm"

Did you mean this?
    pull

Some options:

  1. Upgrade to the latest helm and use the newly built-in push
  2. Change to use cm-push
  3. Pin the version of the chartmuseum plugin to before the rename from push to cm-push

Note, I'm using version 1.0.0 of this resource image from dockerhub.

sujith0408 commented 2 years ago

Hi pete, could you please share the exact steps that need to be followed to fix this issue.