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
The `spec.versions[*].selectableFields` field of a {{< glossary_tooltip term_id="CustomResourceDefinition" text="CustomResourceDefinition" >}} may be used to
2741
-
declare which other fields in a custom resource may be used in field selectors.
2741
+
declare which other fields in a custom resource may be used in field selectors
2742
+
with the feature of `CustomResourceFieldSelectors`
2743
+
[feature gate](/docs/reference/command-line-tools-reference/feature-gates/) (This feature gate is enabled by default since Kubernetes v1.31).
2742
2744
The following example adds the `.spec.color` and `.spec.size` fields as
2743
2745
selectable fields.
2744
2746
2745
2747
Save the CustomResourceDefinition to `shirt-resource-definition.yaml`:
0 commit comments