Have consistent labels and annotations among operators

Labels in the SylvaWorkloadCluster (SWC) operator and in the SylvaUnitsRelease (SUR) operator are

  • Massively used to clean old resources, to test consistency between resources or to aaply constyraints on them
  • Not consistent and probably not following usual format

Therefore, it seems good to have a common system before having operators GA

Currently

  • SUR operator cleans old resources based on the following label: sylva-units-operator/sylva-units-release: xxxx
  • SWC operator cleans old resources based on the following labels: sylva-workload-cluster-operator/sylva-workload-cluster: xxxx and sylva-workload-cluster-operator/sylva-workload-cluster-namespace: xxxx

Incoming MR brings

  • Annotations on SUR Template workload-cluster.sylva.org/surt-base

Given Sylva repo URLs and usual labeling rules, shouldn't we use

  • sylva-units-operator.sylva-project.org/sylva-units-release
  • workload-cluster-operator.sylva-project.org/sylva-workload-cluster
  • workload-cluster-operator.sylva-project.org/surt-base

In order to avoid later non backward compliant operator upgrades, I would recommend to define our policy before any new MR

Edited Nov 12, 2025 by vladimir braquet
Assignee Loading
Time tracking Loading