blob: cb4d8a7c483edb0bd13961b344d3d3dde3078a21 [file] [log] [blame]
{{/*
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/}}
---
apiVersion: v1
kind: Service
metadata:
name: upf-headless
labels:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
spec:
clusterIP: None
selector:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
---
apiVersion: v1
kind: Service
metadata:
name: upf-external
labels:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
spec:
selector:
{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
type: NodePort
ports:
- name: bess-web
protocol: TCP
port: 8000
nodePort: {{ .Values.config.upf.bess.web.nodePort }}