Skip to content

Invalid Yaml from StatefulSet Helm template #15

@JeffreyDD

Description

@JeffreyDD

Environment:

  • Chart 2.1.4
  • Helm 3.7.1
  • Kubernetes v1.21.5+k3s2 (on k3s)

While deploying the helm chart I was prompted with the following error:

Error: parse error at (azure-pipelines-agent/templates/statefulset.yaml:87): unexpected EOF
helm.go:88: [debug] parse error at (azure-pipelines-agent/templates/statefulset.yaml:87): unexpected EOF

It appears the {{- if .Values.image.tag }} in

is never closed, resulting in invalid Yaml. After removing this line Helm is able to properly template the charts' resources.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions