AETHER-1942 Add an ability to set external IP for bess-upf and pfcp-agent

Change-Id: Ic40e37d7789993c3d16a2e9062f5b0a210aa156a
diff --git a/omec/omec-user-plane/Chart.yaml b/omec/omec-user-plane/Chart.yaml
index 7e7536a..4f7ceab 100644
--- a/omec/omec-user-plane/Chart.yaml
+++ b/omec/omec-user-plane/Chart.yaml
@@ -7,4 +7,4 @@
 name: omec-user-plane
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 0.3.23
+version: 0.3.24
diff --git a/omec/omec-user-plane/templates/service-upf.yaml b/omec/omec-user-plane/templates/service-upf.yaml
index ea23935..38ada87 100644
--- a/omec/omec-user-plane/templates/service-upf.yaml
+++ b/omec/omec-user-plane/templates/service-upf.yaml
@@ -17,6 +17,10 @@
 {{- end }}
 spec:
   type: {{ .Values.service.type }}
+{{- if .Values.service.externalIp }}
+  externalIPs:
+    - {{ .Values.service.externalIp }}
+{{- end }}
   selector:
 {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
   ports:
@@ -36,6 +40,10 @@
 {{- end }}
 spec:
   type: {{ .Values.service.type }}
+{{- if .Values.service.externalIp }}
+  externalIPs:
+    - {{ .Values.service.externalIp }}
+{{- end }}
   selector:
 {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
   ports:
diff --git a/omec/omec-user-plane/values.yaml b/omec/omec-user-plane/values.yaml
index d0ff59b..cd01432 100644
--- a/omec/omec-user-plane/values.yaml
+++ b/omec/omec-user-plane/values.yaml
@@ -88,6 +88,7 @@
 
 service:
   type: ClusterIP
+  #externalIp:
   #annotations:
 
 servicemonitor: