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
We currently use app.kubernetes.io/managed-by (and its associated functions such as labels.IsManagedBy):
for replicated secrets: as part of the selector expression that determines which secrets to replicate;
for per-node config maps and Vector config maps: as a way to set the two other label that allows us to "watch" those components in the K8ssandraCluster controller.
managed-by is part of the Recommended labels that Kubernetes suggests applying to every component; it should be for information purposes only, associating semantic meaning with it can be misleading.
We propose removing its current usages:
for replicated secrets, replace it with a custom label.
for config maps, it is not needed, the other two are sufficient (and in fact the code that sets up the watch in the controller does not even test for it).
managed-by will be reintroduced in #861, but as a common label that gets applied to every component, without any underlying semantics.
The text was updated successfully, but these errors were encountered:
* Use a dedicated label for ReplicatedSecret selector
* Don't use managed-by to set watches
This is part of a larger refactoring of labels. managed-by will be re-added as part of a "common" set applied to all components, but without any logic attached to it.
We currently use
app.kubernetes.io/managed-by
(and its associated functions such aslabels.IsManagedBy
):K8ssandraCluster
controller.managed-by
is part of the Recommended labels that Kubernetes suggests applying to every component; it should be for information purposes only, associating semantic meaning with it can be misleading.We propose removing its current usages:
managed-by
will be reintroduced in #861, but as a common label that gets applied to every component, without any underlying semantics.The text was updated successfully, but these errors were encountered: