You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to enable the `CustomResourceFieldSelectors`
317
-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to
318
-
use this behavior, which then applies to all CustomResourceDefinitions in your
319
-
cluster.
320
-
321
316
The `spec.versions[*].selectableFields` field of a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} may be used to
322
-
declare which other fields in a custom resource may be used in field selectors.
317
+
declare which other fields in a custom resource may be used in field selectors
318
+
with the feature of `CustomResourceFieldSelectors`
319
+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) (This feature gate is enabled by default since Kubernetes v1.31).
323
320
The following example adds the `.spec.color` and `.spec.size` fields as
The `spec.versions[*].selectableFields` field of a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} may be used to
1695
-
declare which other fields in a custom resource may be used in field selectors.
1694
+
declare which other fields in a custom resource may be used in field selectors
1695
+
with the feature of `CustomResourceFieldSelectors`
1696
+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) (This feature gate is enabled by default since Kubernetes v1.31).
1696
1697
The following example adds the `.spec.color` and `.spec.size` fields as
0 commit comments