Migrate some validations to CEL #463
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/deprecation
Categorizes issue or PR as related to a feature/enhancement marked for deprecation.
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
What would you like to be cleaned:
we can remove the webhooks in favor of CEL once 1.24 reaches EoL https://kubernetes.io/releases/
Why is this needed:
Since Kubernetes 1.25, we can use CEL validation rules to implement a few common immutability patterns directly in the manifest for a CRD.
ref: https://kubernetes.io/blog/2022/09/29/enforce-immutability-using-cel/
The text was updated successfully, but these errors were encountered: