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

Unable to render chart with values-vsphere.yaml #28

Open
lindhe opened this issue Sep 14, 2023 · 0 comments
Open

Unable to render chart with values-vsphere.yaml #28

lindhe opened this issue Sep 14, 2023 · 0 comments

Comments

@lindhe
Copy link

lindhe commented Sep 14, 2023

The chart fails to render when using values-vsphere.yaml:

$ helm template charts --values charts/values-vsphere.yaml
Error: template: cluster-template/templates/nodeconfig-vsphere.yaml:22:34: executing "cluster-template/templates/nodeconfig-vsphere.yaml" at <2>: invalid value; expected string

Use --debug flag to render out invalid YAML

I think it's because cloudConfig in values-vsphere.yaml is null and this line expects a string:

{{ $nodepool.cloudConfig | indent 2 }}

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

1 participant