From 74a277101800ff2729429e51946070878c046952 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 19 Apr 2023 07:12:46 +0000 Subject: [PATCH] [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 Change-Id: I71831b29c5c5b9ddc2bcafbc1567ed0dfa971e5c --- kubernetes/common/common/templates/_labels.tpl | 1 + 1 file changed, 1 insertion(+) 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 }} -- 2.16.6