summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-04-19 07:12:46 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-04-19 08:09:45 +0000
commit74a277101800ff2729429e51946070878c046952 (patch)
treeeb33572ece3fae805b58ebce4e4194d9733eb043
parent6356e07a0caa7caef201d64977bd9615f6837853 (diff)
[COMMON] Add app label to common.labels
- add an app label to all resources because this is picked up by Istio Issue-ID: OOM-3164 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: I71831b29c5c5b9ddc2bcafbc1567ed0dfa971e5c
-rw-r--r--kubernetes/common/common/templates/_labels.tpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/common/templates/_labels.tpl b/kubernetes/common/common/templates/_labels.tpl
index 993fb7dfac..f2bd1a1141 100644
--- a/kubernetes/common/common/templates/_labels.tpl
+++ b/kubernetes/common/common/templates/_labels.tpl
@@ -26,6 +26,7 @@ The function takes several arguments (inside a dictionary):
{{- define "common.labels" -}}
{{- $dot := default . .dot -}}
app.kubernetes.io/name: {{ include "common.name" $dot }}
+app: {{ include "common.name" $dot }}
{{ if not .ignoreHelmChart }}
helm.sh/chart: {{ include "common.chart" $dot }}
{{- end }}