Files
truecharts/charts/stable/minecraft-java/values.yaml
T
Kjeld Schouten d9eb4a96dd chore(charts): explicitly reference docker.io (#28025)
**Description**
This ensures docker.io is explicitly referenced as a container source,
instead of relying on container-engine defaults

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [x] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2024-10-19 12:44:34 +02:00

248 lines
7.9 KiB
YAML

image:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2@sha256:8bd119f65ef6e65bdb12f756bfb44a305b36b1adf868ade8027014fabc29c755
pullPolicy: Always
j21Image:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java21@sha256:8bd119f65ef6e65bdb12f756bfb44a305b36b1adf868ade8027014fabc29c755
pullPolicy: Always
j21graalvmImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java21-graalvm@sha256:c49022d3453160e94cbe21785c8cb0e56659e4b221d4cf093d969841585bd6d8
pullPolicy: Always
j21alpineImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java21-alpine@sha256:f603d1c14f820b835bc5453fe9b1ea604f50f4090812ed9fd5801786ff5c2834
pullPolicy: Always
j17Image:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java17@sha256:db3ccc7db5371a7a4e7edf8696ccfa177f4b71a29ffbecc76e21a663d1bcf98d
pullPolicy: Always
j17jdkImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.6.1-java17-jdk@sha256:2c43fcede436aff9f50b1adf4448d55d221651be471ef41412232c141bfa89f6
pullPolicy: Always
j17graalvmImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java17-graalvm@sha256:1cc2b742e1ad59e7825bd3aae983e62caa4f2a3518db40214c7eb33af7cb0411
pullPolicy: Always
j17alpineImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java17-alpine@sha256:64a5293d322b4eb9d3a0626a502e7dfd4b1e8a7826bda460c2cbc2b57d723e57
pullPolicy: Always
j11Image:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java11@sha256:55aba151b38675a08ca21d9b463f2bdbefadbef741cd61be8481d61cdf82ae59
pullPolicy: Always
j8Image:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java8@sha256:46863b4193f240514c802de7295edbd9ea54a46b2b49d59e052462157f7d1ff4
pullPolicy: Always
j8graalvmImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java8-graalvm-ce@sha256:5ffa3a407cc39ae55d6173d13da9f08189e6648329146a8a1c7a0c74f4b62307
pullPolicy: Always
j8jdkImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.10.2-java8-jdk@sha256:48fa0f501868df91d2bf855831977a9ef0416dc64fd13ec0eb9b916b1d8cb919
pullPolicy: Always
j8alpineImage:
repository: docker.io/itzg/minecraft-server
tag: 2024.9.0-java8-alpine@sha256:ee8505b9670a82b7703ec35b2a87fe9b7f7823b50ae50fad18bf1fe511e577f9
pullPolicy: Always
mcBackupImage:
repository: docker.io/itzg/mc-backup
tag: latest@sha256:b40aebf4f089b373495c92483c7990222560977b5e703de507733401b38456f8
pullPolicy: Always
service:
main:
enabled: true
ports:
main:
enabled: true
protocol: tcp
port: 25565
query:
enabled: true
protocol: udp
port: 25565
rcon:
enabled: true
ports:
rcon:
enabled: true
port: 25575
mcbackup:
zstd_params:
- --long=25
- --single-thread
# comma separated list
excludes:
- "*.jar"
- "cache"
- "logs"
- "*.tmp"
workload:
main:
podSpec:
containers:
main:
imageSelector: image
probes:
liveness:
enabled: true
type: exec
command:
- mc-health
readiness:
enabled: true
type: exec
command:
- mc-health
startup:
enabled: true
type: exec
command:
- mc-health
env:
SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
QUERY_PORT: "{{ .Values.service.main.ports.query.port }}"
RCON_PORT: "{{ .Values.service.rcon.ports.rcon.port }}"
ENABLE_QUERY: "true"
EULA: "TRUE"
GUI: "FALSE"
OVERRIDE_SERVER_PROPERTIES: true
VERSION: "LATEST"
TYPE: "VANILLA"
DIFFICULTY: easy
MAX_PLAYERS: 20
MAX_WORLD_SIZE: 10000
ALLOW_NETHER: true
ANNOUNCE_PLAYER_ACHIEVEMENTS: true
ENABLE_COMMAND_BLOCK: false
FORCE_GAMEMODE: false
GENERATE_STRUCTURES: true
HARDCORE: false
MAX_BUILD_HEIGHT: 256
MAX_TICK_TIME: 60000
SPAWN_ANIMALS: true
SPAWN_MONSTERS: true
SPAWN_NPCS: true
VIEW_DISTANCE: 16
MODE: survival
MOTD: "Welcome to Minecraft on TrueNAS Scale!"
PVP: false
LEVEL_TYPE: DEFAULT
LEVEL: world
ONLINE_MODE: true
MEMORY: 2048M
RCON_PASSWORD: "secretrconpass"
# PACKWIZ_URL: ""
# CUSTOM_SERVER: ""
# QUILT_LOADER_VERSION: ""
# QUILT_LAUNCHER: ""
# QUILT_LAUNCHER_URL: ""
# PUFFERFISH_BUILD: "lastSuccessfulBuild"
# FORGEVERSION: ""
# FORGE_INSTALLER: ""
# FORGE_INSTALLER_URL: ""
# FABRIC_LOADER_VERSION: ""
# FABRIC_INSTALLER: ""
# FABRIC_INSTALLER_URL: ""
# SPIGOT_DOWNLOAD_URL: ""
# BUILD_FROM_SOURCE: false
# BUKKIT_DOWNLOAD_URL: ""
# PAPERBUILD: ""
# PAPER_DOWNLOAD_URL: ""
# AIRPLANE_BUILD: "lastSuccessfulBuild"
# MAGMA_CHANNEL: "stable"
# MOHIST_BUILD: ""
# CANYON_BUILD: ""
# SPONGEBRANCH: "STABLE"
# SPONGEVERSION: ""
# LIMBO_BUILD: "LATEST"
# LIMBO_SCHEMA_FILENAME: "default.schem"
# CRUCIBLE_RELEASE: "latest"
# FTB_MODPACK_ID: ""
# FTB_MODPACK_VERSION_ID: ""
# CF_SERVER_MOD: ""
# CF_BASE_DIR: ""
# USE_MODPACK_START_SCRIPT: true
# FTB_LEGACYJAVAFIXER: false
# WHITELIST: ""
# OPS: ""
# ICON: ""
# SEED: ""
# GENERATOR_SETTINGS: ""
# WORLD: ""
# FORCE_REDOWNLOAD: false
# USE_FLARE_FLAGS: false
# USE_AIKAR_FLAGS: true
# USE_SIMD_FLAGS: false
# JVM_OPTS: ""
# JVM_XX_OPTS: ""
# CF_API_KEY
# CF_PAGE_URL
# CF_SLUG
# CF_EXCLUDE_INCLUDE_FILE
# CF_EXCLUDE_MODS
# CF_FORCE_INCLUDE_MODS
# CF_FORCE_SYNCHRONIZE
# CF_OVERRIDES_SKIP_EXISTING
# CF_PARALLEL_DOWNLOADS
# CF_SET_LEVEL_FROM
mcbackup:
enabled: true
imageSelector: mcBackupImage
probes:
liveness:
enabled: false
readiness:
enabled: false
startup:
enabled: false
env:
BACKUP_METHOD: "tar"
DEST_DIR: "{{.Values.persistence.backups.mountPath }}"
SRC_DIR: "{{.Values.persistence.data.mountPath }}"
SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
RCON_HOST: '{{ printf "%s-rcon" (include "tc.v1.common.lib.chart.names.fullname" $) }}'
RCON_PORT: "{{ .Values.service.rcon.ports.rcon.port }}"
RCON_PASSWORD: "{{ .Values.workload.main.podSpec.containers.main.env.RCON_PASSWORD }}"
SERVER_HOST: '{{ include "tc.v1.common.lib.chart.names.fullname" $ }}'
ZSTD_PARAMETERS: '{{ join " " .Values.mcbackup.zstd_params }}'
EXCLUDES: '{{ join "," .Values.mcbackup.excludes }}'
INITIAL_DELAY: "2m"
BACKUP_INTERVAL: "24h"
PRUNE_BACKUPS_DAYS: "7"
PAUSE_IF_NO_PLAYERS: "false"
PLAYERS_ONLINE_CHECK_INTERVAL: "5m"
LINK_LATEST: "false"
TAR_COMPRESS_METHOD: "zstd"
persistence:
data:
enabled: true
targetSelector:
main:
main:
mountPath: /data
mcbackup:
mountPath: /data
readOnly: true
backups:
enabled: true
targetSelector:
main:
mcbackup:
mountPath: /backups
portal:
open:
enabled: false