Skip to content

Commit 6ffd985

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

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ 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+
volumeMounts:
25+
- name: datadir
26+
mountPath: /data
27+
1528
serviceAnnotations:
1629
mc-router.itzg.me/externalServerName: "gug.d3adb5.ca"
1730
workloadAsStatefulSet: true

0 commit comments

Comments
 (0)