Skip to content

Commit 47d1cda

Browse files
committed
[zh-cn]sync custom-resources.md
Signed-off-by: xin.li <xin.li@daocloud.io>
1 parent 9bd5c21 commit 47d1cda

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎content/zh-cn/docs/concepts/extend-kubernetes/api-extension/custom-resources.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -631,9 +631,8 @@ may also be used with field selectors when included in the `spec.versions[*].sel
631631

632632
<!--
633633
The `spec.versions[*].selectableFields` field of a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} may be used to
634-
declare which other fields in a custom resource may be used in field selectors
635-
with the feature of `CustomResourceFieldSelectors`
636-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) (This feature gate is enabled by default since Kubernetes v1.31).
634+
declare which other fields in a custom resource may be used in field selectors.
635+
637636
The following example adds the `.spec.color` and `.spec.size` fields as
638637
selectable fields.
639638
-->
@@ -642,9 +641,7 @@ selectable fields.
642641
来使用此行为,然后将其应用到集群中的所有 CustomResourceDefinitions。
643642

644643
{{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}}
645-
字段可以用来在启用了 `CustomResourceFieldSelectors`
646-
[特性门控](/zh-cn/docs/reference/command-line-tools-reference/feature-gates/)
647-
(自 Kubernetes v1.31 起,此特性默认启用)的集群中控制哪些字段可以用在字段选择算符中。
644+
字段可以用来控制哪些字段可以用在字段选择算符中。
648645

649646
以下示例将 `.spec.color``.spec.size` 字段添���为可选择字段。
650647

0 commit comments

Comments
 (0)