Skip to content

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

Description

@lindhe

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 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions