diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 11ff56b..227188c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ variables: - HELM_CHART_VERSION: "0.6.11" + HELM_CHART_VERSION: "0.6.12" stages: - deploy diff --git a/Chart/templates/job.yaml b/Chart/templates/job.yaml index c04c3f3..db7cb2f 100644 --- a/Chart/templates/job.yaml +++ b/Chart/templates/job.yaml @@ -14,11 +14,11 @@ spec: - name: register-wpc image: cloudyne.azurecr.io/register-wpc:latest command: ["python3", "/app/register-wpc.py"] + env: + - name: WP_HOME + value: "https://{{ ( .Values.site.redirectDomain | default ( .Values.site.domain )) | replace "https://" "" | replace "http://" "" }}" restartPolicy: Never imagePullSecrets: - name: pull-secret - env: - - name: WP_HOME - value: "https://{{ ( .Values.site.redirectDomain | default ( .Values.site.domain )) | replace "https://" "" | replace "http://" "" }}" backoffLimit: 4 {{- end }} \ No newline at end of file