From e3d4952df6cd196704311a3d0af4c226e83cf9a6 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 13 Sep 2023 10:41:57 +0200 Subject: [PATCH] fixed pointer to addt env --- .gitlab-ci.yml | 2 +- Chart/templates/configmap.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d40a67d..363f8c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "1.0.10" + HELM_CHART_VERSION: "1.0.11" stages: - deploy diff --git a/Chart/templates/configmap.yaml b/Chart/templates/configmap.yaml index 6014b60..e5f15ec 100644 --- a/Chart/templates/configmap.yaml +++ b/Chart/templates/configmap.yaml @@ -39,9 +39,8 @@ data: SMTP_ALLOWONLY_EMAILS: {{ .Values.email.allowedEmails | join "," }} {{- end }} WP_HOME: "https://{{ .Values.site.domain | replace "http://" "" | replace "https://" "" }}" - -{{- if .Values.site.additionalEnv }} - {{- range $k, $v := .Values.site.additionalEnv }} +{{- if .Values.site.env }} + {{- range $k, $v := .Values.site.env }} {{ $k }}: {{ $v }} {{- end }} {{- end }}