Support multiple ressources with different schemas in kubernetes files
See original GitHub issueWith kubernetes, it is possible to have multiple resources in one file, separated by ---
.
Currently, if the resources have different apiVersion
, we get the following errors for each apiVersion
:
Matches multiple schemas when only one must validate.
I think the language server should be able to handle this situation.
Issue Analytics
- State:
- Created 5 years ago
- Comments:19 (10 by maintainers)
Top Results From Across the Web
Extend the Kubernetes API with CustomResourceDefinitions
This page shows how to install a custom resource into the Kubernetes API by creating a CustomResourceDefinition. Before you begin You need ...
Read more >Custom Resources - Kubernetes
CRDs allow users to create new types of resources without adding another API server. You do not need to understand API Aggregation to...
Read more >Understanding Kubernetes Objects
This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format.
Read more >Versions in CustomResourceDefinitions - Kubernetes
... support multiple versions of custom resources that you have developed. Versions can have different schemas, and conversion webhooks can convert custom ...
Read more >Managing Resources | Kubernetes
It is a recommended practice to put resources related to the same microservice or application tier into the same file, and to group...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
https://github.com/redhat-developer/yaml-language-server/pull/81
This has been fixed by @andxu and a new version of VSCode-YAML and yaml-language-server have been released.