Replies: 2 comments 1 reply
-
Thanks for starting this conversation @baloo42 ! Everything you are saying about the CRDGenerator applies to the java-generator too, in this case, validation should be implemented independently on the models so that it will benefit all of the remaining toolchains. |
Beta Was this translation helpful? Give feedback.
-
The Quarkus extension for the Java Operator SDK could compile the CEL schema at build time and provide dev mode commands to validate custom resources. |
Beta Was this translation helpful? Give feedback.
-
We have recently added support for Kubernetes Validations to the CRDGenerator:
https://github.com/fabric8io/kubernetes-client/blob/main/doc/CRD-generator.md#iofabric8generatorannotationvalidationrule
Now we want to discuss how we can add further support for Kubernetes Validation / CEL rules.
Some java-implementations for CEL already exists:
I'll start with some Ideas:
See also https://github.com/istio/istio/blob/master/pkg/config/crd/validator.go
What ideas do you have?
Beta Was this translation helpful? Give feedback.
All reactions