Merge pull request #47019 from sbueringer/pr-fix-error

Fix CRD CEL transition rule error message example
This commit is contained in:
Kubernetes Prow Robot 2024-07-25 15:00:51 -07:00 committed by GitHub
commit 5076bc76d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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`;