Fixed env vars for job

This commit is contained in:
2023-06-19 09:07:29 +02:00
parent e7079e9f99
commit f2d2f2a825
2 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
variables: variables:
HELM_CHART_VERSION: "0.6.10" HELM_CHART_VERSION: "0.6.11"
stages: stages:
- deploy - deploy

View File

@@ -17,8 +17,8 @@ spec:
restartPolicy: Never restartPolicy: Never
imagePullSecrets: imagePullSecrets:
- name: pull-secret - name: pull-secret
envFrom: env:
- configMapRef: - name: WP_HOME
name: {{ include "..fullname" . }}-env value: "https://{{ ( .Values.site.redirectDomain | default ( .Values.site.domain )) | replace "https://" "" | replace "http://" "" }}"
backoffLimit: 4 backoffLimit: 4
{{- end }} {{- end }}