arttor / helmify

Creates Helm chart from Kubernetes yaml
MIT License
1.48k stars 137 forks source link

Multiple breaks helm linter #16

Closed fnikolai closed 2 years ago

fnikolai commented 2 years ago

The helm linter returns an error when the template is broken into multiple lines.

To reproduce:

>> git  clone https://github.com/arttor/helmify.git
>> cd helmify/examples/operator/
>> >> helm lint
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /var/snap/microk8s/2694/credentials/client.config
==> Linting .
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: parse error at (operator/templates/secret-vars.yaml:8): unclosed action

Error: 1 chart(s) linted, 1 chart(s) failed
arttor commented 2 years ago

Sorry for the long response. I cannot reproduce this issue. @fnikolai what is your Helm version? Everything should work with Helm v3.6.+