AETHER-357 Do not set DNS name for cp_comm_ip when PFCP enabled

Change-Id: Icdb4cad83c39e2fc0add411dd5288a5f7a5ed23b
diff --git a/omec/omec-data-plane/Chart.yaml b/omec/omec-data-plane/Chart.yaml
index df59d30..9545474 100644
--- a/omec/omec-data-plane/Chart.yaml
+++ b/omec/omec-data-plane/Chart.yaml
@@ -11,4 +11,4 @@
 name: omec-data-plane
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 0.1.13
+version: 0.1.14
diff --git a/omec/omec-data-plane/templates/configmap-spgwu.yaml b/omec/omec-data-plane/templates/configmap-spgwu.yaml
index 7f1b0c1..59f3724 100644
--- a/omec/omec-data-plane/templates/configmap-spgwu.yaml
+++ b/omec/omec-data-plane/templates/configmap-spgwu.yaml
@@ -59,7 +59,11 @@
 {{- if .Values.config.spgwu.multiUpfs }}
     cp_nb_ip = {{ .Values.config.spgwu.cpComm.addr }}
     cp_nb_port = {{ .Values.config.spgwu.cpComm.port }}
+{{- if .Values.config.spgwu.pfcp }}
+    cp_comm_ip = 127.0.0.1
+{{- else }}
     cp_comm_ip = {{ .Values.config.spgwu.cpComm.addr }}
+{{- end }}
     cp_comm_port = {{ .Values.config.spgwu.cpComm.port }}
     zmq_dp_ip=127.0.0.1
     zmq_cp_ip=127.0.0.1