fixed pointer to addt env

This commit is contained in:
Lars
2023-09-13 10:41:57 +02:00
parent 7bc8d7f084
commit e3d4952df6
2 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "1.0.10" HELM_CHART_VERSION: "1.0.11"
stages: stages:
- deploy - deploy

View File

@@ -39,9 +39,8 @@ data:
SMTP_ALLOWONLY_EMAILS: {{ .Values.email.allowedEmails | join "," }} SMTP_ALLOWONLY_EMAILS: {{ .Values.email.allowedEmails | join "," }}
{{- end }} {{- end }}
WP_HOME: "https://{{ .Values.site.domain | replace "http://" "" | replace "https://" "" }}" WP_HOME: "https://{{ .Values.site.domain | replace "http://" "" | replace "https://" "" }}"
{{- if .Values.site.env }}
{{- if .Values.site.additionalEnv }} {{- range $k, $v := .Values.site.env }}
{{- range $k, $v := .Values.site.additionalEnv }}
{{ $k }}: {{ $v }} {{ $k }}: {{ $v }}
{{- end }} {{- end }}
{{- end }} {{- end }}