commit | 5553583e623be3d1ad0a8128d6acb930c0da78dd | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Wed Jul 22 18:55:24 2020 -0700 |
committer | Hyunsun Moon <hyunsun.moon@gmail.com> | Wed Jul 22 18:55:24 2020 -0700 |
tree | 7c6ba8b738adc03a478d8e8c8a6a32c1ca50cc3f | |
parent | a1c4c9810a4380dc50e3e110e3b9c6864e7e9bbc [diff] [blame] |
Fix conditional deployment checks Change-Id: Ib6f12797c68cc8694d040f070c706363d731e9b7
diff --git a/omec/omec-control-plane/templates/job-hss-db-sync.yaml b/omec/omec-control-plane/templates/job-hss-db-sync.yaml index 8f1ede6..b1396b0 100644 --- a/omec/omec-control-plane/templates/job-hss-db-sync.yaml +++ b/omec/omec-control-plane/templates/job-hss-db-sync.yaml
@@ -1,11 +1,10 @@ - - {{/* # Copyright 2019-present Open Networking Foundation # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 */}} +{{- if .Values.config.hss.deploy }} --- apiVersion: batch/v1 kind: Job @@ -57,3 +56,4 @@ command: ["bash", "-xc"] args: - until cqlsh --file /opt/c3po/hssdb/oai_db.cql {{ .Values.config.hss.hssdb }}; do echo "Provisioning HSSDB"; sleep 2;done +{{- end }}