Remove inheritance of some labels
Hi! We use the Flux GitOps system to deliver the configuration to the cluster. The Flux marks its controlled resources with labels. Only those resources that are in the cluster configuration repository should be monitored.
In the case of minio, these are custom tenant resources, but not statefulsets generated by the operator.
Please add the ability to exclude labels when inheriting from a tenant in a statefulset, for example, using a regular expression, as implemented in the kafka operator
containers:
- name: strimzi-cluster-operator
env:
- name: STRIMZI_LABELS_EXCLUSION_PATTERN
value: "^kustomize.toolkit.fluxcd.*"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
I am looking at a similar case in strimzi operator for the STRIMZI_LABELS_EXCLUSION_PATTERN https://github.com/strimzi/strimzi-kafka-operator/issues/5242 to understand better what the issue is here.
Are you having a restart of the tenant pods/statefulsets @aivanov-citc? Why you want to prevent the labels propagation?
I am interested on bring to the light which kind of situations could happen if we just propagate the labels, if any.