Skip to content

Commit 1ea922b

Browse files
committed
fix(minecraft): ensure config permissions for gug
Ensure /data/config permissions are proper for GUG.
1 parent c7ae201 commit 1ea922b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

argo/app-of-apps/templates/minecraft/minecraft-gug.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@ spec:
1212
chart: minecraft
1313
helm:
1414
valuesObject:
15+
initContainers:
16+
- name: fix-config-permissions
17+
image: busybox
18+
command:
19+
- sh
20+
- -c
21+
- |
22+
mkdir -p /data/config
23+
chown -R 1000:1000 /data
24+
securityContext:
25+
runAsUser: 0
26+
runAsGroup: 0
27+
runAsNonRoot: false
28+
volumeMounts:
29+
- name: datadir
30+
mountPath: /data
31+
1532
serviceAnnotations:
1633
mc-router.itzg.me/externalServerName: "gug.d3adb5.ca"
1734
workloadAsStatefulSet: true

0 commit comments

Comments
 (0)