Skip to content

Commit

Permalink
Merge pull request #47019 from sbueringer/pr-fix-error
Browse files Browse the repository at this point in the history
Fix CRD CEL transition rule error message example
  • Loading branch information
k8s-ci-robot committed Jul 25, 2024
2 parents 92838ea + 3f7873e commit 5076bc7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1247,8 +1247,7 @@ Unlike other rules, transition rules apply only to operations meeting the follow
later update to the same object.

Errors will be generated on CRD writes if a schema node contains a transition rule that can never be
applied, e.g. "*path*: update rule *rule* cannot be set on schema because the schema or its parent
schema is not mergeable".
applied, e.g. "oldSelf cannot be used on the uncorrelatable portion of the schema within *path*".

Transition rules are only allowed on _correlatable portions_ of a schema.
A portion of the schema is correlatable if all `array` parent schemas are of type `x-kubernetes-list-type=map`;
Expand Down

0 comments on commit 5076bc7

Please sign in to comment.