apiVersion: v1 kind: Service metadata: name: {{ template "unifi.fullname" . }}-stun labels: app: {{ template "unifi.name" . }} chart: {{ template "unifi.chart" . }} release: {{ .Release.Name }} heritage: {{ .Release.Service }} spec: type: {{ .Values.stunService.type }} ports: - port: {{ .Values.stunService.port }} targetPort: 10001 protocol: UDP name: stun selector: app: {{ template "unifi.name" . }} release: {{ .Release.Name }}