From d931a71fc2954c3a34eab02c8ada4a7b4ee5d9cf Mon Sep 17 00:00:00 2001 From: "Keli (Madison) Grubb" Date: Tue, 2 Jul 2024 11:00:02 -0400 Subject: [PATCH] Update charts/netobserv/templates/_helpers.tpl Co-authored-by: Mack (Maksym Iv) <146473578+maksym-iv-elf@users.noreply.github.com> --- charts/netobserv/templates/_helpers.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/netobserv/templates/_helpers.tpl b/charts/netobserv/templates/_helpers.tpl index f0b3629..c66d955 100644 --- a/charts/netobserv/templates/_helpers.tpl +++ b/charts/netobserv/templates/_helpers.tpl @@ -40,8 +40,9 @@ helm.sh/chart: {{ include "netobserv.chart" . }} app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- if .Values.commonLabels }} -{{ toYaml .Values.commonLabels }} +{{ include "netobserv.selectorLabels" . }} +{{- range $k, $v := .Values.commonLabels }} +{{ $k }}: {{ $v | quote }} {{- end }} {{- end }}