Expose teamspeak
This commit is contained in:
parent
245468e34b
commit
22ac332f75
3 changed files with 11 additions and 5 deletions
7
infra/manifests/udp-services.yaml
Normal file
7
infra/manifests/udp-services.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: udp-services
|
||||
namespace: ingress-nginx
|
||||
data:
|
||||
9987: "public/teamspeak:9987"
|
|
@ -10,11 +10,10 @@ metadata:
|
|||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
ports:
|
||||
- nodePort: {{ .Values.service.nodePort }}
|
||||
targetPort: 9987
|
||||
- targetPort: 9987
|
||||
protocol: UDP
|
||||
name: teamspeak-voice
|
||||
port: 9987
|
||||
port: {{ .Values.service.port }}
|
||||
selector:
|
||||
app: teamspeak
|
||||
release: {{ .Release.Name }}
|
||||
|
|
|
@ -6,8 +6,8 @@ image:
|
|||
podAnnotations: {}
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
nodePort: 30987
|
||||
type: ClusterIP
|
||||
port: 9987
|
||||
|
||||
resources:
|
||||
limits:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue