Closed yvesjans closed 6 months ago
Thanks for reporting. Using variable in the template context is currently not supported. E.g. something like this:
{{- $root := . -}}
{{- $root.Values.deployments }}
wont' give a result. But it should not crash the lsp anymore.
I opened https://github.com/mrjosh/helm-ls/issues/84 for the general support of this syntax.
Thanks for the quick fix! All working again :)
Recently I started experiencing helm-ls crashing when using specific helm charts using a range in the template. We do this for example to generate multiple deployments (e.g. spot vs ondemand nodes)
Chart to reproduce attached helm-lsp-repro.tar.gz
Open
templates/deployment.yaml
and hover doc on$config.hpa.minReplicas
makeshelm-ls
panic