mrjosh / helm-ls

⎈ Language server for Helm ⎈
MIT License
238 stars 15 forks source link

fix(linting): use parent chart for linting subchart files #69

Closed qvalentin closed 7 months ago

qvalentin commented 7 months ago

Fixes bug reported in https://github.com/mrjosh/helm-ls/issues/46 by @thatnerdjosh

thatnerdjosh commented 7 months ago

@qvalentin - I'm still seeing this on the new release:

{"level":"info","msg":"helm lint: result for file file:///Users/jsantos/Developer/.../charts/frontend/templates/deployment.yaml : [[ERROR] templates/: parse error at (frontend/templates/deployment.yaml:26:22): nil pointer evaluating interface {}.imagePullSecrets]","time":"2024-03-30T18:26:18-04:00"}

qvalentin commented 7 months ago

@thatnerdjosh which version did you use? v0.0.13 does not have the patch yet, you would need to use the prerelease: https://github.com/mrjosh/helm-ls/releases/tag/master

thatnerdjosh commented 7 months ago

@qvalentin - Thank you!!! it works perfectly now