Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
values.yaml file of the chart will be read and evaluated automatically to provide intellisense.Named Templates defined in the any .tpl file.yaml anchors and labelsKubernetes extension.yaml and helm-template.Helm-Intellisense: Lint : This command parses the currently active document and validates that all paths(like .Values.foo.bar) point to valid values.Helm-Intellisense: Lint Chart : Equivalent to Lint command but for all files in the chart of the file that is currently active.| Setting | Description |
|---|---|
helm-intellisense.customValueFileNames |
Defines list of possible files containing values (default: values.yaml) |
helm-intellisense.lintFileOnSave |
If set to true the Helm-Intellisense: Lint command will be executed on save (default: true) |
helm-intellisense.excludeFromLinting |
Define a list of filenames which should be excluded from linting. Wildcards are also possible (Example: *.gotmpl) |
When mulitple value files are defined they are parsed from the bottom up:
"helm-intellisense.customValueFileNames": [
"prod-values.yaml",
"dev-values.yaml",
"values.yaml"
]In this case values will be overwritten/merged by dev and dev by prod. This also means that the linter will only throw an error if a certain key is not found in any of the specified files.
No open issues yet, or sync has not completed.