You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helm-ls will use yaml-language-server to provide additional capabilities, if it is installed.
124
128
129
+
#### Template files
130
+
131
+
Helm-ls will convert the gotemplate files in the templates directory to yaml and process them with yaml-language-server.
132
+
125
133
> [!WARNING]
126
134
>
127
135
> This feature is experimental, you can disable it in the config ([see](#configuration-options)) if you are getting a lot of errors beginning with `Yamlls:`.
128
136
> Having a broken template syntax (e.g. while your are still typing) will also cause diagnostics from yaml-language-server to be shown as errors.
129
137
130
-
To install it using npm run (or use your preferred package manager):
138
+
#### Values files
139
+
140
+
Helm-ls will generate json-schemas for all values.\*yaml files and use yaml-language-server to provide autocompletion.
141
+
This feature is currently beta, see https://github.com/mrjosh/helm-ls/issues/61#issuecomment-2927585818 for details.
142
+
143
+
#### Install
131
144
132
145
```bash
133
146
npm install --global yaml-language-server
134
147
```
135
148
149
+
To install it using npm run (or use your preferred package manager):
150
+
136
151
The default kubernetes schema of yaml-language-server will be used for all files. You can overwrite which schema to use in the config ([see](#configuration-options)).
137
152
If you are for example using CRDs that are not included in the default schema, you can overwrite the schema using a comment
138
153
to use the schemas from the [CRDs-catalog](https://github.com/datreeio/CRDs-catalog).
0 commit comments