diff options
author | priyanshu <pagarwal@amdocs.com> | 2019-03-13 14:43:36 +0530 |
---|---|---|
committer | priyanshua <pagarwal@amdocs.com> | 2019-03-13 15:15:34 +0530 |
commit | 9be63471a1f10757fa1537c8a8dc98163979fb7e (patch) | |
tree | c6da9e026ec7d2aa7e47ff157ea8daca87e05d70 /kubernetes/sdc/charts/sdc-wfd-be/templates/job.yaml | |
parent | a07aff75d4e86c2d9e0a0bb3b0111f2d609a5791 (diff) |
Support execution control of SDC Workflow init
Added a flag to decide whether init job is needed.
Change-Id: Ib40571048dac1d1161d756edc5d738b86aac1c7a
Issue-ID: OOM-1712
Signed-off-by: priyanshua <pagarwal@amdocs.com>
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 |