This commit is contained in:
parent
dbf9cc9bbb
commit
c12562fb7f
@ -13,21 +13,21 @@ spec:
|
||||
labels:
|
||||
app: games
|
||||
spec:
|
||||
initContainers:
|
||||
- name: modpack-downloader
|
||||
image: alpine:latest
|
||||
volumeMounts:
|
||||
- name: minecraft-modpacks
|
||||
mountPath: /modpacks
|
||||
env:
|
||||
- name: MODPACK_URL
|
||||
value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
|
||||
command: ["/bin/sh"]
|
||||
args:
|
||||
- "-c"
|
||||
- |
|
||||
rm -rf /modpacks/*
|
||||
wget -O /modpacks/modpack.zip "$MODPACK_URL"
|
||||
#initContainers:
|
||||
#- name: modpack-downloader
|
||||
# image: alpine:latest
|
||||
# volumeMounts:
|
||||
# - name: minecraft-modpacks
|
||||
# mountPath: /modpacks
|
||||
# env:
|
||||
# - name: MODPACK_URL
|
||||
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
|
||||
# command: ["/bin/sh"]
|
||||
# args:
|
||||
# - "-c"
|
||||
# - |
|
||||
# rm -rf /modpacks/*
|
||||
# wget -O /modpacks/modpack.zip "$MODPACK_URL"
|
||||
containers:
|
||||
- name: minecraft
|
||||
image: itzg/minecraft-server
|
||||
@ -56,7 +56,7 @@ spec:
|
||||
- name: TYPE
|
||||
value: "CURSEFORGE"
|
||||
- name: CF_SERVER_MOD
|
||||
value: "/modpacks/modpack.zip"
|
||||
value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
|
||||
|
||||
#- name: USE_MODPACK_START_SCRIPT
|
||||
# value: "true"
|
||||
|
Loading…
Reference in New Issue
Block a user