Open
Description
Kubernetes 1.32 added stable support for custom resource field selectors. This should allow filtering of custom resources based on some field from the custom resource itself.
This might be useful in several situations:
- To allow users easily filter the resources ... users might have many topics or users, would some fields from their spec make sense for filtering?
- To replace the
strimzi.io/cluster
labels with a field in the resource spec and then use it by the Kubernetes client to inform only on some resources
If we decide that this is useful, we will likely need:
- Figure out which field should support this
- Add the support to the CRD generator through an annotation on the API classes
Note: This moved to stable only in 1.32 and it is likely not possible to use it today because of backward compatibility. But should be revisited in the future)