fix(mudcraft): set voice_host so clients connect to correct UDP endpoint
Simple Voice Chat was advertising a blank voice_host, causing clients to try connecting to the pod's internal IP over UDP. Explicitly set voice_host=mudcraft.nook.family:24454 via ConfigMap + initContainer.
This commit is contained in:
@@ -17,7 +17,7 @@ spec:
|
||||
labels:
|
||||
app: mudcraft
|
||||
annotations:
|
||||
kubectl.kubernetes.io/restartedAt: "2026-03-30T02:45:00Z"
|
||||
kubectl.kubernetes.io/restartedAt: "2026-03-30T03:00:00Z"
|
||||
spec:
|
||||
terminationGracePeriodSeconds: 120
|
||||
securityContext:
|
||||
@@ -48,6 +48,8 @@ spec:
|
||||
sed "s|\${LP_PASSWORD}|${LP_PASSWORD}|g" /luckperms-config/config.yml > /target/LuckPerms/config.yml
|
||||
mkdir -p /target/PurpurExtras
|
||||
cp /purpurextras-config/config.yml /target/PurpurExtras/config.yml
|
||||
mkdir -p /target/voicechat
|
||||
cp /voicechat-config/voicechat-server.properties /target/voicechat/voicechat-server.properties
|
||||
echo 'Plugins installed'
|
||||
volumeMounts:
|
||||
- name: plugins
|
||||
@@ -56,6 +58,8 @@ spec:
|
||||
mountPath: /luckperms-config
|
||||
- name: purpurextras-config
|
||||
mountPath: /purpurextras-config
|
||||
- name: voicechat-config
|
||||
mountPath: /voicechat-config
|
||||
containers:
|
||||
- name: mudcraft
|
||||
image: itzg/minecraft-server:java21
|
||||
@@ -139,3 +143,6 @@ spec:
|
||||
- name: luckperms-config
|
||||
configMap:
|
||||
name: mudcraft-luckperms
|
||||
- name: voicechat-config
|
||||
configMap:
|
||||
name: mudcraft-voicechat
|
||||
|
||||
Reference in New Issue
Block a user