Code Review
/
oom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Support execution control of SDC Workflow init
[oom.git]
/
kubernetes
/
sdc
/
charts
/
sdc-wfd-be
/
templates
/
job.yaml
diff --git
a/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
b/kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
index
f4a68d7
..
2cfdacb
100644
(file)
--- a/
kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
+++ b/
kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml
@@
-1,4
+1,5
@@
-# Copyright © 2018 Amdocs, Bell Canada
+# Copyright © 2017 Amdocs, AT&T, Bell Canada
+# Modifications Copyright © 2018 ZTE
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-12,6
+13,7
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+{{ if .Values.initJob.enabled }}
apiVersion: batch/v1
kind: Job
metadata:
apiVersion: batch/v1
kind: Job
metadata:
@@
-65,3
+67,4
@@
spec:
secretKeyRef: {name: {{ .Release.Name }}-sdc-cs-secrets, key: sdc_password}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
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