diff options
author | 2019-03-13 14:04:42 +0000 | |
---|---|---|
committer | 2019-03-13 14:04:42 +0000 | |
commit | 623e0f619da41a1cd4de18b0ae61b32e1408eff0 (patch) | |
tree | 9f81534b87211401a592abac2a9d5f0d21bd975d /kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml | |
parent | 6c68a4e53b26d78ee849af353aaf160fb4d5ed5d (diff) | |
parent | 9be63471a1f10757fa1537c8a8dc98163979fb7e (diff) |
Merge "Support execution control of SDC Workflow init"
Diffstat (limited to 'kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml')
-rw-r--r-- | kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml b/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml index 2b142533c7..98de4760bf 100644 --- a/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml +++ b/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml @@ -13,6 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +{{ if .Values.global.initJob.enabled }} apiVersion: batch/v1 kind: Job metadata: @@ -66,3 +67,4 @@ spec: secretKeyRef: {name: {{ .Release.Name }}-sdc-cs-secrets, key: sdc_password} imagePullSecrets: - name: "{{ include "common.namespace" . }}-docker-registry-key" +{{ end }}
\ No newline at end of file |