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