Add upf-adapter pod helm chart changes
Change-Id: I400e0fe521b97c46acfb937514c8889429eed8bb
diff --git a/5g-control-plane/templates/service-smf.yaml b/5g-control-plane/templates/service-smf.yaml
index cda2739..d37cb61 100644
--- a/5g-control-plane/templates/service-smf.yaml
+++ b/5g-control-plane/templates/service-smf.yaml
@@ -17,6 +17,7 @@
selector:
{{ tuple "smf" . | include "5g-control-plane.metadata_labels" | indent 4 }}
ports:
+{{- if eq .Values.config.upfadapter.deploy false }}
- name: pfcp
port: {{ .Values.config.smf.n4.port }}
protocol: UDP
@@ -25,6 +26,7 @@
nodePort: {{ .Values.config.smf.n4.nodePort }}
{{- end }}
{{- end }}
+{{- end }}
- name: prometheus-exporter
port: {{ .Values.config.smf.prometheus.port }}
protocol: TCP