Compare commits

..

No commits in common. "fix-values" and "main" have entirely different histories.

View File

@ -27,7 +27,7 @@ traefik:
# -- Main values
# --------------------------------------------------
image:
#tag: java17-graalvm
tag: java17-graalvm
pullPolicy: Always
resources:
@ -37,11 +37,11 @@ resources:
limits:
memory: 3Gi
#lifecycle:
# postStart:
# - bash
# - -c
# - for i in {1..100}; do mc-health && break || sleep 20; done && rcon-cli setpassword 11223345
lifecycle:
postStart:
- bash
- -c
- for i in {1..100}; do mc-health && break || sleep 20; done && mc-send-to-console setpassword 11223345
readinessProbe:
command:
@ -57,11 +57,10 @@ minecraftServer:
eula: "TRUE"
onlineMode: false
difficulty: hard
hardcore: false
hardcore: true
version: 1.20.1
maxWorldSize: 90000
type: "FORGE"
forgeInstallerUrl: https://maven.minecraftforge.net/net/minecraftforge/forge/1.20.2-48.1.0/forge-1.20.2-48.1.0-installer.jar
type: "PAPER"
paperDownloadUrl: https://api.papermc.io/v2/projects/paper/versions/1.20.1/builds/170/downloads/paper-1.20.1-170.jar
gameMode: survival
pvp: true
@ -110,47 +109,69 @@ mcbackup:
# -- Install Plugins
# ---------------------------------------------
initContainers:
- name: 0-install-create-plugin
- name: 0-install-prometheus-exporter
image: alpine/curl
command:
- curl
- -L
- "https://www.curseforge.com/api/v1/mods/328085/files/4835191/download"
- "https://github.com/sladkoff/minecraft-prometheus-exporter/releases/download/v2.5.0/minecraft-prometheus-exporter-2.5.0.jar"
- -o
- /data/mods/create.jar
- /data/plugins/prometheus-exporter.jar
volumeMounts:
- name: plugins
mountPath: /data/mods
mountPath: /data/plugins
readOnly: false
- name: 0-install-vic-plugin
- name: 0-install-password-plugin
image: alpine/curl
command:
- curl
- -L
- https://www.curseforge.com/api/v1/mods/961053/files/5367445/download
- "https://github.com/timbru31/PasswordProtect/releases/download/PasswordProtect-3.1.0/PasswordProtect.jar"
- -o
- /data/mods/vic.jar
- /data/plugins/PasswordProtect.jar
volumeMounts:
- name: plugins
mountPath: /data/mods
mountPath: /data/plugins
readOnly: false
- name: 0-install-gecko-plugin
- name: 0-install-gravity-control-plugin
image: alpine/curl
command:
- curl
- -L
- https://www.curseforge.com/api/v1/mods/388172/files/5386950/download
- https://github.com/e-im/GravityControl/releases/download/v1.3.0/GravityControl-1.3.0.jar
- -o
- /data/mods/geckolib.jar
- /data/plugins/GravityControl-1.3.0.jar
volumeMounts:
- name: plugins
mountPath: /data/mods
mountPath: /data/plugins
readOnly: false
- name: 0-install-fast-minecart-plugin
image: alpine/curl
command:
- curl
- -L
- https://github.com/certainly1182/FastMinecarts/releases/download/v1.0.1/FastMinecarts.jar
- -o
- /data/plugins/FastMinecarts.jar
volumeMounts:
- name: plugins
mountPath: /data/plugins
- name: 1-add-plugins-to-minecraft
image: alpine/curl
command:
- sh
- -c
- cp -r /in /out/plugins
volumeMounts:
- name: plugins
mountPath: /in
readOnly: false
- name: datadir
mountPath: /out
extraVolumes:
- volumeMounts:
- name: plugins
mountPath: /data/mods
mountPath: /data/plugins
readOnly: false
volumes:
- name: plugins