AETHER-357 Add ability to run control plane components selectively

Change-Id: I73cd5bab0fa624cf6cd3bb26b465f18c4ab5fc64
diff --git a/omec/omec-control-plane/templates/configmap-spgwc.yaml b/omec/omec-control-plane/templates/configmap-spgwc.yaml
index b3a9566..030a09a 100644
--- a/omec/omec-control-plane/templates/configmap-spgwc.yaml
+++ b/omec/omec-control-plane/templates/configmap-spgwc.yaml
@@ -4,6 +4,7 @@
 # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
 */}}
 
+{{- if .Values.config.spgwc.deploy }}
 ---
 apiVersion: v1
 kind: ConfigMap
@@ -91,3 +92,4 @@
 {{- range $key, $value := .Values.config.spgwc.jsonCfgFiles }}
   {{ $key }}: {{ toJson $value | quote }}
 {{- end }}
+{{- end }}