Skip to content

Conversation

Add an option to overwrite the default Kubernetes schema URL with a
custom one, by setting a `YAMLLS_KUBERNETES_SCHEMA_URL` environment
variable.

See
- redhat-developer#998
- redhat-developer#824
- redhat-developer#841
- redhat-developer#962
- redhat-developer#1050

Main use case is to use
https://github.com/ricoberger/kubernetes-json-schema, which contains the
schema for Kubernetes and the CRDs I'm using.
ricoberger added a commit to ricoberger/dotfiles that referenced this pull request Sep 9, 2025
- Adjust the settings of the YAML language server.
- Use my own fork of the YAML language server, to support the default
  Kubernetes resources and CustomResourceDefinitions (CRDs),
  see ricoberger/yaml-language-server#1
- Set `YAMLLS_KUBERNETES_SCHEMA_URL` environment variable to use the
  schema from https://github.com/ricoberger/kubernetes-json-schema
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants