redhat-developer / redhat-developer/yaml-language-server

Feature Request: support for Kubernetes CRDs

Open
#132 11 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

I tried to use yaml.schemas to associate kubernetes CRD schemas but this is not working. I added this entry to vscode user settings:

"yaml.schemas": {
        "file:///path/to/application-swagger-latest.json": "/**"
    }

I also tried:

"yaml.schemas": {
        ./path/to/application-swagger-latest.json": "/**"
    }

with no success.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported yaml.schemas configuration in the YAML language server and trace how schema associations are handled. Done means Kubernetes CRD schemas can be associated with YAML files using the documented settings and are applied successfully during validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, typescript
Domain
devops, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.