Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Language features for YAML validation #256

Open
juozasg opened this issue Apr 27, 2022 · 1 comment
Open

Language features for YAML validation #256

juozasg opened this issue Apr 27, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@juozasg
Copy link
Collaborator

juozasg commented Apr 27, 2022

Auto-complete for YAML file resources would be very powerful and help prevent many operator errors.

@kingdonb kingdonb added the documentation Improvements or additions to documentation label Apr 27, 2022
@kingdonb
Copy link
Collaborator

This is supported, but sometimes required an editor restart after CRDs are installed in order to make it work. I believe the validation comes from the OpenAPI spec that is built into ClusterResourceDefinitions, you get autocomplete for many fields, (it would be great to incorporate this into some of our demo/intro documentation because it's key functionality!)

I am not sure if this is provided by the Kubernetes extension, but I think it is.

@kingdonb kingdonb added this to the 0.27 milestone Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants