Hyunsun Moon | 33d8531 | 2020-08-20 00:55:31 -0700 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2020-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 5 | */}} |
| 6 | |
| 7 | --- |
| 8 | apiVersion: v1 |
| 9 | kind: Service |
| 10 | metadata: |
| 11 | name: upf-headless |
| 12 | labels: |
| 13 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 14 | spec: |
| 15 | clusterIP: None |
| 16 | selector: |
| 17 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 18 | --- |
| 19 | apiVersion: v1 |
| 20 | kind: Service |
| 21 | metadata: |
| 22 | name: upf-external |
| 23 | labels: |
| 24 | {{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }} |
| 25 | spec: |
| 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 }} |