Merge pull request #47019 from sbueringer/pr-fix-error
Fix CRD CEL transition rule error message example
This commit is contained in:
commit
5076bc76d2
|
|
@ -1247,8 +1247,7 @@ Unlike other rules, transition rules apply only to operations meeting the follow
|
||||||
later update to the same object.
|
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
|
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
|
applied, e.g. "oldSelf cannot be used on the uncorrelatable portion of the schema within *path*".
|
||||||
schema is not mergeable".
|
|
||||||
|
|
||||||
Transition rules are only allowed on _correlatable portions_ of a schema.
|
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`;
|
A portion of the schema is correlatable if all `array` parent schemas are of type `x-kubernetes-list-type=map`;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue