carvel-dev / carvel-dev/ytt

Kubernetes VSCode extension resource schema validation

Open
#408 8 comments 1 reaction 0 assignees View on GitHub
carvel accepted discussion enhancement
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem/challenge you have**
Working with comments has its drawbacks. The [Kubernetes extension](https://github.com/Azure/vscode-kubernetes-tools) for vscode marks all YAML values with only `#@` as invalid.

![image](https://user-images.githubusercontent.com/1764424/120294719-c509d080-c2c6-11eb-9ac3-e23f8348c5a7.png)

> Incorrect type. Expected "integer".yaml-schema: kubernetes://schema/apps/v1%40deployment

**Describe the solution you'd like**

- Ship a custom vscode extension
- Improve [Kubernetes extension](https://github.com/Azure/vscode-kubernetes-tools) to understand ytt comments.

---
Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Kubernetes VSCode extension's YAML schema validation with ytt comments using the linked example. Compare the behavior of the existing Kubernetes extension with the proposed custom-extension or improved-extension approaches. Done means values marked with only #@ are no longer reported as invalid by the VSCode validation workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, vscode
Domain
devops, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.