1
0
mirror of synced 2026-02-13 21:16:57 +00:00

Add component label for controllers and their CRDs

Label each controller deployment, service, service account and CRDs with `app.kubernetes.io/component: <controller-name>`.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-09-26 14:08:32 +03:00
parent 90f0d81532
commit 2971d34a13
12 changed files with 66 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
apiVersion: builtin
kind: LabelTransformer
metadata:
name: labels
labels:
app.kubernetes.io/component: notification-controller
fieldSpecs:
- path: metadata/labels
create: true