Fixed env indentation
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
variables:
|
variables:
|
||||||
HELM_CHART_VERSION: "0.6.11"
|
HELM_CHART_VERSION: "0.6.12"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy
|
- deploy
|
||||||
|
|||||||
@@ -14,11 +14,11 @@ spec:
|
|||||||
- name: register-wpc
|
- name: register-wpc
|
||||||
image: cloudyne.azurecr.io/register-wpc:latest
|
image: cloudyne.azurecr.io/register-wpc:latest
|
||||||
command: ["python3", "/app/register-wpc.py"]
|
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
|
restartPolicy: Never
|
||||||
imagePullSecrets:
|
imagePullSecrets:
|
||||||
- name: pull-secret
|
- name: pull-secret
|
||||||
env:
|
|
||||||
- name: WP_HOME
|
|
||||||
value: "https://{{ ( .Values.site.redirectDomain | default ( .Values.site.domain )) | replace "https://" "" | replace "http://" "" }}"
|
|
||||||
backoffLimit: 4
|
backoffLimit: 4
|
||||||
{{- end }}
|
{{- end }}
|
||||||
Reference in New Issue
Block a user