Update to new curseforge modpack
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-16 23:59:33 -05:00
parent 663a6fecd9
commit dbf9cc9bbb
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

@ -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
@ -49,14 +49,14 @@ spec:
- name: VERSION
value: "1.12.2"
- name: GENERIC_PACK
value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
#- name: GENERIC_PACK
# value: "https://s3.clortox.com/minecraft-modpacks/modpack-latest.zip"
- name: REMOVE_OLD_MODS
value: "TRUE"
#- name: TYPE
# value: "CURSEFORGE"
#- name: CF_SERVER_MOD
# value: "/modpacks/modpack.zip"
- name: TYPE
value: "CURSEFORGE"
- name: CF_SERVER_MOD
value: "/modpacks/modpack.zip"
#- name: USE_MODPACK_START_SCRIPT
# value: "true"