diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-04-19 07:12:46 +0000 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-04-19 08:09:45 +0000 |
commit | 74a277101800ff2729429e51946070878c046952 (patch) | |
tree | eb33572ece3fae805b58ebce4e4194d9733eb043 /kubernetes/common | |
parent | 6356e07a0caa7caef201d64977bd9615f6837853 (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
Diffstat (limited to 'kubernetes/common')
-rw-r--r-- | kubernetes/common/common/templates/_labels.tpl | 1 |
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 }} |