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 chart 0.20.x broken #16322

Closed
andreas-p opened this issue Jul 18, 2022 · 3 comments
Closed

Helm chart 0.20.x broken #16322

andreas-p opened this issue Jul 18, 2022 · 3 comments
Labels
bug Used to indicate a potential bug helmchart Helm chart for deploying Vault on Kubernetes. Also consider hashicorp/vault-helm

Comments

@andreas-p
Copy link

When executing helm template vault hashicorp/vault --version 0.20.1 (or 0.20.0), the following message is emitted:
Error: parse error at (vault/templates/_helpers.tpl:38): unclosed action

The last version that works correctly is 0.19.0, tested with helm 3.3.0 and 3.9.1.

@heatherezell heatherezell added helmchart Helm chart for deploying Vault on Kubernetes. Also consider hashicorp/vault-helm bug Used to indicate a potential bug labels Jul 18, 2022
@heatherezell
Copy link
Contributor

Hi there! We've seen this before (ie in vault-helm issue 729) when the version of helm needs updating. Can you try upgrading helm and trying again? Thanks!

@maxb
Copy link
Contributor

maxb commented Jul 18, 2022

From the Go 1.16 changelog - https://go.dev/doc/go1.16 :

text/template
Newlines characters are now allowed inside action delimiters, permitting actions to span multiple lines.

Only Helm built using Go 1.16 or later is able to process the syntax now used in the chart.

@andreas-p
Copy link
Author

Ok I re-checked with helm 3.9.1, and it appears that my previous check wasn't really with 3.9.1....

I can confirm that the charts 0.20.x DO work with the latest helm.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug helmchart Helm chart for deploying Vault on Kubernetes. Also consider hashicorp/vault-helm
Projects
None yet
Development

No branches or pull requests

3 participants