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

Include possible field values in interactive tree #19

Open
vladvintila opened this issue Jan 28, 2025 · 3 comments
Open

Include possible field values in interactive tree #19

vladvintila opened this issue Jan 28, 2025 · 3 comments

Comments

@vladvintila
Copy link
Contributor

Right now the kubernetes api spec does not include valid field values(enums). But there's an issue to include them, which is quite close:
kubernetes/enhancements#2887

I believe waiting on this issue and then supporting it is what needs to be done, but correct me if I'm wrong.

@goenning
Copy link
Member

Oh I didn't know about that KEP. We have 2 options I think:

  1. Add enum support for CRDs as some of them already have this, and ignore kubernetes (for now)
  2. Wait until kubernetes adds supports for enum and then implement both at the same time

I'm fine either way, do you have a preference?

@vladvintila
Copy link
Contributor Author

I don't know too much about CRDs. Since they're not implemented in any way yet, then definitely they should have enum support when they're implemented.

Can you give a few examples of CRDs you're thinking of including? Do they have openapi files available?

In any case, the answer to your question is that it is a best-effort approach so if we find time to implement 1. ,2. shouldn't hold us back :).

@goenning
Copy link
Member

We already have support for some CRDs, have a look at the bottom of the page https://kubespec.dev/

The openapi spec is stored alongside the kubernetes spec too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants