Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm 3 template command doesn't have the --name option #28

Open
gmenuel opened this issue Apr 6, 2020 · 2 comments
Open

Helm 3 template command doesn't have the --name option #28

gmenuel opened this issue Apr 6, 2020 · 2 comments

Comments

@gmenuel
Copy link

gmenuel commented Apr 6, 2020

In helm3 the template command doesn't have the --name option, the new syntax is helm template [NAME] [CHART] [flags] see https://helm.sh/docs/helm/helm_template/

@mtb-xt
Copy link

mtb-xt commented May 4, 2020

@mumoshu sorry for poking, but this means helm-x won't work with helm 3, right?
or it's something we're misconfiguring?

I'm also getting this error:

Comparing release=external-dns, chart=bitnami/external-dns
in ./helmfile.yaml: in .helmfiles[0]: in releases/external-dns/helmfile.yaml: failed processing release external-dns: helm-x exited with status 255:
  I0504 10:46:22.374139     132 chartify.go:236] using requirements.yaml:
  dependencies:
  I0504 10:46:22.422927     132 replace.go:45] options: {true [/tmp/values432946744] [] kube-system ~2.20
  }
  F0504 10:46:22.470531     132 main.go:51] Error: unknown flag: --name
  helm.go:75: [debug] unknown flag: --name

All I did was that I added integration with helm-x by using helmfile with this command - helmfile --helm-binary /root/.local/share/helm/plugins/helm-x/bin/helm-x --log-level=debug -e dev apply"

@dmitrykruglov
Copy link

I'm trying to use helm x template command with helm 3 and I'm getting this error:
F0904 14:37:49.801723 20900 main.go:59] Error: unknown flag: --name Error: plugin "x" exited with error

Looks like Helm X is calling helm template with a --name argument which is no longer supported in Helm 3, that's why we're getting this error. That means Helm 3 support is broken right now. I'm using helm-x 0.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants