Closed qvalentin closed 4 months ago
The following won't work for hover, completion, etc. since the symbol table does not resolve variables that store the template context,
{{- $root := . -}} {{- range $type, $config := $root.Values.deployments }} apiVersion: apps/v1 kind: Deployment metadata: name: my-app-{{ $type }} spec: replicas: {{ $config.hpa.minReplicas }} --- {{- end }}
Fixed in https://github.com/mrjosh/helm-ls/releases/tag/v0.0.18
The following won't work for hover, completion, etc. since the symbol table does not resolve variables that store the template context,