-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove built in kubernetes support #307
Comments
It would be great to document how to migrate to a post-kubernetes yaml-language-server without losing kubernetes integration. |
I hate to be negative, but Kubernetes integration is the reason why I'm using this language server. EDIT: nevermind, I just found out I can provide the kubernetes schema url instead of |
@FranciscoKurpiel, can you share the kubernetes schema url? I cannot seem to find it |
That's a snippet of my Note that the URL is for k8s 1.18, but it should work with newer versions after making obvious changes to the url. {
"languageserver": {
"yaml": {
"filetypes": ["yaml", "yml"],
"module": "/home/xyko/.config/nvim/plugged/coc-yaml/node_modules/yaml-language-server/out/server/src/server.js"
}
},
"yaml.schemas": {
"https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/master/v1.18.0-standalone-strict/all.json": [ "/*.k8s.yaml" ],
"http://json.schemastore.org/kustomization": [ "kustomization.yaml" ],
"https://raw.githubusercontent.com/GoogleContainerTools/skaffold/master/docs/content/en/schemas/v2beta8.json": [ "skaffold.yaml" ]
},
"yaml.format.enable": true,
"yaml.validate": true,
"json.schemaDownload.enable": true,
"coc.preferences.colorSupport": true
} |
@JPinkney Or am i missing something? |
It's probably time that we start to deprecate the built-in Kubernetes support from the language server. Although it is useful, it really shouldn't be bundled with the extension and it creates issues that have to be specifically solved inside of the language server that don't really make sense in the context of a pure YAML language server.
E.g. #220, #211, #132, redhat-developer/vscode-yaml#153, redhat-developer/vscode-yaml#246.
These are the things that should be done:
The text was updated successfully, but these errors were encountered: