SDFAB-998 Move omec-user-plane from aether-helm-chart to sdfabric-helm-chart
It is renamed to bess-upf.
The license is also updated to Apache 2.0.
We also remove omec-upf-cni which is no longer in use.
Change-Id: Ie9ce877c13203a76bf90d24918734ded33587157
diff --git a/bess-upf/templates/service-upf.yaml b/bess-upf/templates/service-upf.yaml
new file mode 100644
index 0000000..e7a2cbc
--- /dev/null
+++ b/bess-upf/templates/service-upf.yaml
@@ -0,0 +1,55 @@
+{{/*
+# Copyright 2020-present Open Networking Foundation
+
+# SPDX-License-Identifier: Apache-2.0
+*/}}
+
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: upf
+ labels:
+{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
+{{- with .Values.service.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+{{- 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:
+ - name: pfcp
+ protocol: UDP
+ port: 8805
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: upf-http
+ labels:
+{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
+{{- with .Values.service.annotations }}
+ annotations:
+ {{- toYaml . | nindent 4 }}
+{{- 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:
+ - name: bess-web
+ protocol: TCP
+ port: 8000
+ - name: prometheus-exporter
+ protocol: TCP
+ port: 8080