controller-tools
controller-tools copied to clipboard
🐛markers/OneOf: make order deterministic relative to XValidation
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.