apiVersion: v1 kind: Service metadata: labels: app: f5gc-udm name: f5gc-udm spec: type: {{ .Values.service.type }} ports: - name: f5gc-udm port: {{ .Values.service.port }} protocol: TCP targetPort: {{ .Values.service.port }} {{- if eq .Values.service.type "NodePort" }} nodePort: {{ .Values.service.nodePort }} {{- end }} selector: app: f5gc-udm