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

Support CRD Validation Expression Language (CEL) #4367

Open
brainwang opened this issue Aug 31, 2022 · 6 comments
Open

Support CRD Validation Expression Language (CEL) #4367

brainwang opened this issue Aug 31, 2022 · 6 comments

Comments

@brainwang
Copy link

Is your enhancement related to a problem? Please describe

No.

Describe the solution you'd like

Support CRD Validation Expression Language (CEL), which was introduced in https://github.com/kubernetes/enhancements/blob/master/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md

Describe alternatives you've considered

No response

Additional context

No response

@rohanKanojia
Copy link
Member

Umm, we already seem to have this in our model:

Have you tried this on Kubernetes 1.25.0 cluster?

@derlin
Copy link

derlin commented Sep 12, 2022

How can you add this annotation in generated CRDs using CRDGenerator ?

@rohanKanojia
Copy link
Member

I'm not sure we have support for this in java or crd generator. @andreaTP @metacosm Do you have some idea about this?

@manusa
Copy link
Member

manusa commented Sep 20, 2022

Relates to #4348

@andreaTP
Copy link
Member

andreaTP commented Oct 4, 2022

There is a cel implementation for Java:
https://github.com/projectnessie/cel-java

it would be interesting to receive proposals on how this can play with the current API in the different cases(crd-generator, java-generator, CR validations on the client side).

@stale
Copy link

stale bot commented Jan 2, 2023

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

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

No branches or pull requests

5 participants