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