From 94427bf72ec04198b8eb529c0341a28c15104ecf Mon Sep 17 00:00:00 2001 From: Serhii Koropets Date: Mon, 13 Mar 2023 16:34:00 +0200 Subject: [PATCH 1/2] extraLabels as tpl --- charts/gordo/templates/_helpers.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/gordo/templates/_helpers.tpl b/charts/gordo/templates/_helpers.tpl index 0795b40..ca3e560 100644 --- a/charts/gordo/templates/_helpers.tpl +++ b/charts/gordo/templates/_helpers.tpl @@ -51,7 +51,10 @@ app.kubernetes.io/version: {{ .context.Chart.AppVersion | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .context.Release.Service }} {{- with .context.Values.extraLabels }} -{{ toYaml . }} +{{- range $name, $label := . }} +{{- $v := tpl $label $.context }} +{{ $name }}: {{ $v | quote }} +{{- end }} {{- end }} {{- end }} From 68963ae7e9f9ffe654cbcf536af27fdd4155b4cd Mon Sep 17 00:00:00 2001 From: Serhii Koropets Date: Mon, 13 Mar 2023 16:35:08 +0200 Subject: [PATCH 2/2] 0.2.1 --- charts/gordo/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gordo/Chart.yaml b/charts/gordo/Chart.yaml index f91c29b..6931c69 100644 --- a/charts/gordo/Chart.yaml +++ b/charts/gordo/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: gordo appVersion: "2.0.0" -version: 0.2.0 +version: 0.2.1 description: A Helm chart for Gordo type: application home: https://github.com/equinor/gordo-helm