controller-tools icon indicating copy to clipboard operation
controller-tools copied to clipboard

🐛markers/OneOf: make order deterministic relative to XValidation

Open shashankram opened this issue 5 months ago • 5 comments

Currently, if both XValidation and AtMostOneOf/ExactlyOneOf constraints are specified, the ordering of CEL rules can change due to both sets of markers have the same apply priority. This change ensures that OneOf markers always run after XValidation markers. Without this, the generated CRD can change without any API changes, which is undesirable.

shashankram avatar Jun 26 '25 17:06 shashankram