blob: ea23935c0646911f18828b0c42807743cda63925 [file] [log] [blame]
Hyunsun Moon33d85312020-08-20 00:55:31 -07001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6
7---
8apiVersion: v1
9kind: Service
10metadata:
Hyunsun Moon804e05d2020-09-01 17:31:33 -070011 name: upf
12 labels:
13{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
Hyunsun Moon44abcbc2021-06-23 17:55:23 -070014{{- with .Values.service.annotations }}
15 annotations:
16 {{- toYaml . | nindent 4 }}
17{{- end }}
Hyunsun Moon804e05d2020-09-01 17:31:33 -070018spec:
Hyunsun Moon3cc43512021-06-17 02:24:41 -070019 type: {{ .Values.service.type }}
Hyunsun Moon804e05d2020-09-01 17:31:33 -070020 selector:
21{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
22 ports:
23 - name: pfcp
24 protocol: UDP
25 port: 8805
26---
27apiVersion: v1
28kind: Service
29metadata:
Hyunsun Moon3cc43512021-06-17 02:24:41 -070030 name: upf-http
Hyunsun Moon33d85312020-08-20 00:55:31 -070031 labels:
32{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
Hyunsun Moon44abcbc2021-06-23 17:55:23 -070033{{- with .Values.service.annotations }}
34 annotations:
35 {{- toYaml . | nindent 4 }}
36{{- end }}
Hyunsun Moon33d85312020-08-20 00:55:31 -070037spec:
Hyunsun Moon3cc43512021-06-17 02:24:41 -070038 type: {{ .Values.service.type }}
Hyunsun Moon33d85312020-08-20 00:55:31 -070039 selector:
40{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
Hyunsun Moon33d85312020-08-20 00:55:31 -070041 ports:
42 - name: bess-web
43 protocol: TCP
44 port: 8000
Andy Baviere84456c2021-04-09 14:00:45 -070045 - name: prometheus-exporter
46 protocol: TCP
Andy Bavier6ad6a882021-04-19 20:48:03 -070047 port: 8080