apps(minecraft): Add voicechat port

main
trivernis 10 months ago
parent 801f70b2aa
commit 1ee444a996
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -40,6 +40,14 @@ spec:
enabled: true enabled: true
withGeneratedPassword: true withGeneratedPassword: true
memory: 4G memory: 4G
extraPorts:
- name: voicechat
containerPort: 24454
protocol: TCP
service:
enabled: true
embedded: true
port: 24454
modrinth: modrinth:
projects: projects:
- fabric-api - fabric-api

@ -1,7 +1,7 @@
apiVersion: traefik.containo.us/v1alpha1 apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP kind: IngressRouteTCP
metadata: metadata:
name: minecraft name: game
namespace: minecraft namespace: minecraft
spec: spec:
entryPoints: entryPoints:
@ -11,3 +11,17 @@ spec:
services: services:
- name: minecraft - name: minecraft
port: minecraft port: minecraft
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: voice
namespace: minecraft
spec:
entryPoints:
- minecraft-voice
routes:
- match: HostSNI(`*`)
services:
- name: minecraft
port: voicechat

@ -52,6 +52,12 @@ spec:
exposedPort: 25565 exposedPort: 25565
protocol: TCP protocol: TCP
minecraft-voice:
port: 24454
expose: true
exposedPort: 24454
protocol: TCP
metrics: metrics:
prometheus: prometheus:
headerLabels: headerLabels:

Loading…
Cancel
Save