Skip to content

Commit 5076bc7

Browse files
authored
Merge pull request #47019 from sbueringer/pr-fix-error
Fix CRD CEL transition rule error message example
2 parents 92838ea + 3f7873e commit 5076bc7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1247,8 +1247,7 @@ Unlike other rules, transition rules apply only to operations meeting the follow
12471247
later update to the same object.
12481248

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

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

0 commit comments

Comments
 (0)