Exposing the ngic-dp, bbu and mme containers as NodePort(s)
Change-Id: Ib2d967a3df79c18779aabb69fa61b5dcb9aa0faa
diff --git a/mcord/mcord-data-plane/templates/dp.yaml b/mcord/mcord-data-plane/templates/dp.yaml
index e7844dc..71bcd47 100644
--- a/mcord/mcord-data-plane/templates/dp.yaml
+++ b/mcord/mcord-data-plane/templates/dp.yaml
@@ -28,6 +28,19 @@
port: {{ .Values.ngic_dp.ports.sx }}
protocol: UDP
---
+apiVersion: v1
+kind: Service
+metadata:
+ name: ngic-dp-external
+spec:
+ selector:
+ app: ngic-dp
+ type: NodePort
+ ports:
+ - port: {{ .Values.ngic_dp.ports.sx }}
+ nodePort: {{ .Values.ngic_dp.ports.sx_external }}
+ protocol: UDP
+---
apiVersion: apps/v1
kind: StatefulSet
metadata: