question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support multiple ressources with different schemas in kubernetes files

See original GitHub issue

With 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:closed
  • Created 5 years ago
  • Comments:19 (10 by maintainers)

github_iconTop GitHub Comments

0reactions
JPinkneycommented, Aug 27, 2018

This has been fixed by @andxu and a new version of VSCode-YAML and yaml-language-server have been released.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found