Add chown init container
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e7b17e5225
commit
201fb15e0f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user