oecis-charts/charts/teamspeak3/templates/service.yaml
Jan-Niklas Weghorn 01642ccbce add teamspeak3
2024-02-05 11:58:22 +01:00

48 lines
1.2 KiB
YAML

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 }}