cluster-template-examples
cluster-template-examples copied to clipboard
Unable to render chart with `values-vsphere.yaml`
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:
https://github.com/rancher/cluster-template-examples/blob/dc5c201c5415c430cdf4bcb6af975f9e516e970b/charts/templates/nodeconfig-vsphere.yaml#L22