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 lint does not work since helm v3.7.0 #36

Open
clemcvlcs opened this issue Dec 31, 2021 · 0 comments
Open

helm lint does not work since helm v3.7.0 #36

clemcvlcs opened this issue Dec 31, 2021 · 0 comments

Comments

@clemcvlcs
Copy link

helm v3.7.0 broke helm lint when leading dash are set at top of yaml document
cf helm/helm#10149 (comment)

$ helm lint helm
engine.go:180: [INFO] Fail: feature key file not provided!
==> Linting helm
[ERROR] templates/clusterrole.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: rbac.authorization.k8s.io/v1
[ERROR] templates/clusterrolebinding.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: rbac.authorization.k8s.io/v1
[ERROR] templates/serviceaccount.yaml: unable to parse YAML: invalid Yaml document separator: apiVersion: v1

Error: 1 chart(s) linted, 1 chart(s) failed

Removing leading dashs for clusterrole.yaml, clusterrolebinding.yaml, serviceaccount.yaml solves this issue

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