kyma-project / serverless

Apache License 2.0
3 stars 17 forks source link

Consistent labeling #1014

Open Cortey opened 3 weeks ago

Cortey commented 3 weeks ago

Description Decision was made to to add a module label and unify the common labels of all Kyma modules.

Requirements Align with the common labels found in Decision record and also check the recommended common labels

Example Current operator labels:

    app.kubernetes.io/component:xx-serverless-2752323641
    app.kubernetes.io/created-by: serverless-operator
    app.kubernetes.io/instance: serverless-operator
    app.kubernetes.io/managed-by: kustomize
    app.kubernetes.io/name: deployment
    app.kubernetes.io/part-of: Kyma
    control-plane: operator

Desired labels

  kyma-project.io/module: serverless
  app.kubernetes.io/name: serverless-operator
  app.kubernetes.io/instance: serverless-operator-default
  app.kubernetes.io/version: 1.2.1
  app.kubernetes.io/component: operator
  app.kubernetes.io/part-of: serverless
  app.kubernetes.io/managed-by: 
halamix2 commented 4 days ago

Currently, in some repos there are manual version changes necessary when new version is released: