blob: d310b29361c29d376bece34c8de2fd061ddc759e [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{/*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002# Copyright 2020-present Open Networking Foundation
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07004# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -07005*/}}
6
7---
8apiVersion: v1
9kind: Service
10metadata:
11 name: spgwu-headless
12 labels:
13{{ tuple "spgwu" . | include "omec-user-plane.metadata_labels" | indent 4 }}
14spec:
15 clusterIP: None
16 selector:
17{{ tuple "spgwu" . | include "omec-user-plane.metadata_labels" | indent 4 }}
Jeremy Ronquillo223db002020-06-05 10:28:22 -070018---
19apiVersion: v1
20kind: Service
21metadata:
22 name: spgwu-external
23 labels:
24{{ tuple "spgwu" . | include "omec-user-plane.metadata_labels" | indent 4 }}
25spec:
26 selector:
27{{ tuple "spgwu" . | include "omec-user-plane.metadata_labels" | indent 4 }}
28 type: NodePort
29 ports:
30 - name: bess-web
31 protocol: TCP
32 port: 8000
Hyunsun Moon617dc052020-06-21 20:13:22 -050033 nodePort: {{ .Values.config.spgwu.bess.web.nodePort }}