EDGEPOD-212 - configmap update is not updating the config in the spgw
for config update to work we need to give right directory as argument
to the ngic_controlplane.
Change-Id: I79addbdb4ae557c6cc5da7abcd1396073e3a68ce
diff --git a/omec/omec-control-plane/Chart.yaml b/omec/omec-control-plane/Chart.yaml
index 34d8f43..82fabd0 100644
--- a/omec/omec-control-plane/Chart.yaml
+++ b/omec/omec-control-plane/Chart.yaml
@@ -19,4 +19,4 @@
name: omec-control-plane
icon: https://guide.opencord.org/logos/cord.svg
-version: 0.1.24
+version: 0.1.25
diff --git a/omec/omec-control-plane/templates/configmap-spgwc.yaml b/omec/omec-control-plane/templates/configmap-spgwc.yaml
index ea9aeb4..12515da 100644
--- a/omec/omec-control-plane/templates/configmap-spgwc.yaml
+++ b/omec/omec-control-plane/templates/configmap-spgwc.yaml
@@ -34,7 +34,12 @@
MISC="-l 2"
SPGW_CFG="-d 03"
+{{- if .Values.config.spgwc.multiUpfs }}
+ CONFIG_UPDATE_FOLDER="-f /etc/cp/config/"
+ APP_ARGS="${MGMT_INFO} ${APN_INFO} ${MISC} ${SPGW_CFG} ${CONFIG_UPDATE_FOLDER}"
+{{- else }}
APP_ARGS="${MGMT_INFO} ${APN_INFO} ${MISC} ${SPGW_CFG}"
+{{- end }}
interface.cfg: |
[0]
zmq_protocol = tcp