Configure ServerQuery port

This commit is contained in:
Aram 🍐 2023-07-21 18:04:05 -04:00
parent 9609a667c8
commit da840d7e45
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{{- if .Values.service.queryPort }}
apiVersion: v1
kind: Service
metadata:
name: {{ .Release.Name }}-query
labels:
app: teamspeak
chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
spec:
type: ClusterIP
ports:
- nodePort: {{ .Values.service.queryPort }}
targetPort: 10011
protocol: TCP
name: teamspeak-query
port: 10011
selector:
app: teamspeak
release: {{ .Release.Name }}
{{- end }}

View file

@ -9,6 +9,7 @@ service:
type: NodePort type: NodePort
voicePort: 30987 voicePort: 30987
filePort: 30033 filePort: 30033
queryPort: 10011
nodeSelector: nodeSelector:
teamspeak: "1" teamspeak: "1"