Add chown init container
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-23 21:03:40 -05:00
parent e7b17e5225
commit 201fb15e0f
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -13,22 +13,17 @@ spec:
labels: labels:
app: games app: games
spec: spec:
#initContainers: initContainers:
#- name: modpack-downloader - name: modpack-downloader
# image: alpine:latest image: alpine:latest
# volumeMounts: volumeMounts:
# - name: minecraft-modpacks - name: minecraft-data
# mountPath: /modpacks mountPath: /data
# env: command: ["/bin/sh"]
# - name: MODPACK_URL args:
# #value: "https://s3.clortox.com/minecraft-modpacks/cf-modpack-latest.zip" - "-c"
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip" - |
# command: ["/bin/sh"] chown -R 1000:1000 /data
# args:
# - "-c"
# - |
# rm -rf /modpacks/*
# wget -O /modpacks/modpack.zip "$MODPACK_URL"
containers: containers:
- name: minecraft - name: minecraft
image: itzg/minecraft-server:java8-jdk image: itzg/minecraft-server:java8-jdk