apiVersion: v1 kind: Service metadata: name: {{ include "teamspeak.fullname" . }}-voice labels: {{- include "teamspeak.labels" . | nindent 4 }} spec: type: {{ .Values.service.voice.type }} ports: - targetPort: ts3-voice protocol: UDP name: ts3-voice port: {{ .Values.service.voice.port }} selector: {{- include "teamspeak.selectorLabels" . | nindent 4 }} --- apiVersion: v1 kind: Service metadata: name: {{ include "teamspeak.fullname" . }}-file labels: {{- include "teamspeak.labels" . | nindent 4 }} spec: type: {{ .Values.service.file.type }} ports: - targetPort: ts3-file protocol: TCP name: ts3-file port: {{ .Values.service.file.port }} selector: {{- include "teamspeak.selectorLabels" . | nindent 4 }} --- apiVersion: v1 kind: Service metadata: name: {{ include "teamspeak.fullname" . }}-query labels: {{- include "teamspeak.labels" . | nindent 4 }} spec: type: {{ .Values.service.query.type }} ports: - targetPort: ts3-query protocol: TCP name: ts3-query port: {{ .Values.service.query.port }} selector: {{- include "teamspeak.selectorLabels" . | nindent 4 }}