Skip to content

Commit 60ac962

Browse files
authored
Merge pull request #24671 from elmiko/update-scale-subresource
fix case for scale subresource fields
2 parents 288ebee + de655df commit 60ac962

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -954,15 +954,15 @@ the `/scale` subresource will return an error on GET.
954954

955955
- It is a required value.
956956
- Only JSONPaths under `.status` and with the dot notation are allowed.
957-
- If there is no value under the `StatusReplicasPath` in the custom resource,
957+
- If there is no value under the `statusReplicasPath` in the custom resource,
958958
the status replica value in the `/scale` subresource will default to 0.
959959

960-
- `LabelSelectorPath` defines the JSONPath inside of a custom resource that corresponds to `Scale.Status.Selector`.
960+
- `labelSelectorPath` defines the JSONPath inside of a custom resource that corresponds to `Scale.Status.Selector`.
961961

962962
- It is an optional value.
963963
- It must be set to work with HPA.
964964
- Only JSONPaths under `.status` or `.spec` and with the dot notation are allowed.
965-
- If there is no value under the `LabelSelectorPath` in the custom resource,
965+
- If there is no value under the `labelSelectorPath` in the custom resource,
966966
the status selector value in the `/scale` subresource will default to the empty string.
967967
- The field pointed by this JSON path must be a string field (not a complex selector struct) which contains a serialized label selector in string form.
968968

0 commit comments

Comments
 (0)