fix(mudcraft): add fsGroup 1000 so PVC dirs are writable by server process

Existing /data/plugins/LuckPerms/ dir on PVC was created by root, so
UID 1000 couldn't create subdirs (libs/, etc.). fsGroup:1000 tells k8s
to chown all volume mounts to group 1000 at pod startup, fixing access.
This commit is contained in:
Will Anderson
2026-03-29 20:37:38 -05:00
parent a86e9f892f
commit 8588def1ab
+3 -1
View File
@@ -17,9 +17,11 @@ spec:
labels:
app: mudcraft
annotations:
kubectl.kubernetes.io/restartedAt: "2026-03-30T02:15:00Z"
kubectl.kubernetes.io/restartedAt: "2026-03-30T02:30:00Z"
spec:
terminationGracePeriodSeconds: 120
securityContext:
fsGroup: 1000
initContainers:
# Copies plugin JARs from the mudcraft/plugins image into the plugins PVC.
# To add/update plugins: update the Dockerfile in mudcraft/mudcraft repo,