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 }}