From 09e21d9bf48ad05ed20b45c58e6f95e9b78841f6 Mon Sep 17 00:00:00 2001 From: Lars Date: Mon, 19 Jun 2023 09:12:28 +0200 Subject: [PATCH] Fixed env indentation --- .gitlab-ci.yml | 2 +- Chart/templates/job.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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