-
Notifications
You must be signed in to change notification settings - Fork 327
Open
Labels
Description
It appears the Kubernetes schema is hardcoded at https://github.com/redhat-developer/yaml-language-server/blob/master/src/server.ts#L32.
Is it possible to set a specific version? For example, if I wanted to use https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.16.0-standalone-strict/all.json?
I tried
yaml.schemas: {
"https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.16.0-standalone-strict/all.json": "/*.yaml"
}
but no luck.
For now, editing server.ts on my local machine works well. I wonder if an [optional] environment variable could be helpful?
Reactions are currently unavailable