blob: 2a4f1eb19637097ace5e7c397e0c6c6ba8c5a8e5 [file] [log] [blame]
Badhrinath Pa083686a2020-09-29 21:51:42 -07001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6
7---
8apiVersion: v1
9kind: Service
10metadata:
Badhrinath Pa083686a2020-09-29 21:51:42 -070011 name: pfcp-agent
12 labels:
13{{ tuple "pfcp" . | include "omec-upf-pfcp-agent.metadata_labels" | indent 4 }}
Hyunsun Moon3b4d8f92021-07-09 15:20:12 -070014{{- with .Values.service.annotations }}
15 annotations:
16 {{- toYaml . | nindent 4 }}
Hyunsun Moon295d98d2021-03-17 11:04:34 -070017{{- end }}
Hyunsun Moon3b4d8f92021-07-09 15:20:12 -070018spec:
19 type: {{ .Values.service.type }}
20{{- if .Values.service.externalIp }}
21 externalIPs:
22 - {{ .Values.service.externalIp }}
23{{- end }}
24 selector:
25{{ tuple "pfcp" . | include "omec-upf-pfcp-agent.metadata_labels" | indent 4 }}
26 ports:
27 - name: pfcp
28 port: 8805
29 protocol: UDP