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