networkslice: Added free5gc helm charts.
[icn.git] / demo / networkslice / free5gc / helm / f5gc-smf / templates / service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   labels:
5     app: f5gc-smf
6   name: f5gc-smf
7 spec:
8   type: {{ .Values.service.type }}
9   ports:
10   - name: f5gc-smf-sbi
11     port: {{ .Values.service.port }}
12     protocol: TCP
13     targetPort: {{ .Values.service.port }}
14 {{- if eq .Values.service.type "NodePort" }}
15     nodePort: {{ .Values.service.nodePort }}
16 {{- end }}
17   - name: f5gc-smf-n4
18     port: 8805
19     protocol: UDP
20     targetPort: 8805
21   selector:
22     app: f5gc-smf