summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <adetalhouet89@gmail.com>2019-03-13 14:04:42 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-13 14:04:42 +0000
commit623e0f619da41a1cd4de18b0ae61b32e1408eff0 (patch)
tree9f81534b87211401a592abac2a9d5f0d21bd975d /kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
parent6c68a4e53b26d78ee849af353aaf160fb4d5ed5d (diff)
parent9be63471a1f10757fa1537c8a8dc98163979fb7e (diff)
Merge "Support execution control of SDC Workflow init"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml')
-rw-r--r--kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
index 50062a1b9b..fc1538f87a 100644
--- a/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
+++ b/kubernetes/sdc/charts/sdc-wfd-be/templates/deployment.yaml
@@ -32,6 +32,7 @@ spec:
release: {{ .Release.Name }}
spec:
initContainers:
+ {{- if .Values.global.initJob.enabled }}
- name: {{ include "common.name" . }}-job-completion
image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: "{{ .Values.global.pullPolicy | default .Values.pullPolicy }}"
@@ -46,6 +47,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
+ {{ end }}
containers:
- name: {{ include "common.name" . }}
image: "{{ include "common.repository" . }}/{{ .Values.image }}"