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:
@@ -17,9 +17,11 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: mudcraft
|
app: mudcraft
|
||||||
annotations:
|
annotations:
|
||||||
kubectl.kubernetes.io/restartedAt: "2026-03-30T02:15:00Z"
|
kubectl.kubernetes.io/restartedAt: "2026-03-30T02:30:00Z"
|
||||||
spec:
|
spec:
|
||||||
terminationGracePeriodSeconds: 120
|
terminationGracePeriodSeconds: 120
|
||||||
|
securityContext:
|
||||||
|
fsGroup: 1000
|
||||||
initContainers:
|
initContainers:
|
||||||
# Copies plugin JARs from the mudcraft/plugins image into the plugins PVC.
|
# Copies plugin JARs from the mudcraft/plugins image into the plugins PVC.
|
||||||
# To add/update plugins: update the Dockerfile in mudcraft/mudcraft repo,
|
# To add/update plugins: update the Dockerfile in mudcraft/mudcraft repo,
|
||||||
|
|||||||
Reference in New Issue
Block a user