Use generic pack instead
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2023-12-16 22:24:26 -05:00
parent 3bf6c9d48e
commit 8af7a5fe77
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8

View File

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