blob: cb4d8a7c483edb0bd13961b344d3d3dde3078a21 [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:
11 name: upf-headless
12 labels:
13{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
14spec:
15 clusterIP: None
16 selector:
17{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
18---
19apiVersion: v1
20kind: Service
21metadata:
22 name: upf-external
23 labels:
24{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
25spec:
26 selector:
27{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
28 type: NodePort
29 ports:
30 - name: bess-web
31 protocol: TCP
32 port: 8000
33 nodePort: {{ .Values.config.upf.bess.web.nodePort }}