blob: 2a4f1eb19637097ace5e7c397e0c6c6ba8c5a8e5 [file] [log] [blame]
{{/*
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/}}
---
apiVersion: v1
kind: Service
metadata:
name: pfcp-agent
labels:
{{ tuple "pfcp" . | include "omec-upf-pfcp-agent.metadata_labels" | indent 4 }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
{{- if .Values.service.externalIp }}
externalIPs:
- {{ .Values.service.externalIp }}
{{- end }}
selector:
{{ tuple "pfcp" . | include "omec-upf-pfcp-agent.metadata_labels" | indent 4 }}
ports:
- name: pfcp
port: 8805
protocol: UDP