strimzi / strimzi-kafka-operator

Apache Kafka® running on Kubernetes
https://strimzi.io/
Apache License 2.0
4.74k stars 1.27k forks source link

Use CEL validation in our CRDs #9417

Open scholzj opened 9 months ago

scholzj commented 9 months ago

We should consider using CEL validation in our CRDs to improve the validation of things that OpenAPI cannot validate. Two things were raised recently:

We should investigate how CEL can help there. But we should keep in mind the following aspects:

scholzj commented 8 months ago

Discussed in the community call on 14.12.: Could provide a useful functionality. Might need a proposal depending on the complexity of the added rules and how are the generated out of the API classes?