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`
634
-
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) to
635
-
use this behavior, which then applies to all CustomResourceDefinitions in your
636
-
cluster.
637
-
638
633
The `spec.versions[*].selectableFields` field of a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} may be used to
639
-
declare which other fields in a custom resource may be used in field selectors.
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).
640
637
The following example adds the `.spec.color` and `.spec.size` fields as
0 commit comments