Files
truecharts/charts/stable/minecraft-java/values.yaml
T
Kjeld Schouten f8e33766bf feat(common): remove portal and ensure appUrl is used for notes.txt (#34047)
**Description**

This removes old portal references (from truenas times) from common and
notes.txt
Also ensures chartContext is used for notes.txt

Technically breaking in case any down-stream users use portal
configmap/data

⚒️ Fixes  #31880

**⚙️ Type of change**

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

**🧪 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 changes to the documentation
- [ ] 🧪 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):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** 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._

---------

Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2025-04-07 22:04:57 +02:00

244 lines
7.8 KiB
YAML

image:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0@sha256:ebd8e1308013c320168f436076dc5e854172be0131dd89c8406c5a4b6bc3da0a
pullPolicy: Always
j21Image:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java21@sha256:ebd8e1308013c320168f436076dc5e854172be0131dd89c8406c5a4b6bc3da0a
pullPolicy: Always
j21graalvmImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java21-graalvm@sha256:c9bbecae66b9038812f64bed4f562bd4b69ae9f863d25c88b39b7ff84a8e478e
pullPolicy: Always
j21alpineImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java21-alpine@sha256:6465bf5a90599229d7fd5ed42fd567a103ee32ca4740249c36ca3b63e69f1f25
pullPolicy: Always
j17Image:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java17@sha256:a27daa6e470f7d5f8fd483690ae00c24859f7c5ac4bd12be8e9d82ac4181790d
pullPolicy: Always
j17jdkImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2024.6.1-java17-jdk@sha256:2c43fcede436aff9f50b1adf4448d55d221651be471ef41412232c141bfa89f6
pullPolicy: Always
j17graalvmImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java17-graalvm@sha256:e0c2d1738ec4fbd4970f9be4b90e9fac08f1e71240fb3359af2d40d287a29fd9
pullPolicy: Always
j17alpineImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java17-alpine@sha256:76dec8e773b3b74642d89e5be7b203df530dffcc0dc5a372db9f932ae9d92cb9
pullPolicy: Always
j11Image:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java11@sha256:d3d0468c09aac4245c359b25dfb7f1bd301d400cf1b49ec927ce8168d92ffddc
pullPolicy: Always
j8Image:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java8@sha256:60fe81ac770f7687f6f6ac9d9de06277e2e2528d909ba4fde47b55abb062ff60
pullPolicy: Always
j8graalvmImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java8-graalvm-ce@sha256:aed6c5e046495df8680010a4f9bd0a2e16ce3d7f0a7eb2da0ca05df05767ea49
pullPolicy: Always
j8jdkImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2025.4.0-java8-jdk@sha256:f63deb8bb01ea12407c05d931cb87e2f2b6ed660ece4b101e2c49b45f0ef5a5f
pullPolicy: Always
j8alpineImage:
repository: ghcr.io/itzg/minecraft-server
tag: 2024.9.0-java8-alpine@sha256:ee8505b9670a82b7703ec35b2a87fe9b7f7823b50ae50fad18bf1fe511e577f9
pullPolicy: Always
mcBackupImage:
repository: docker.io/itzg/mc-backup
tag: latest@sha256:0e5e26f1e76530ed9464b69fe0f3eaf9eb7c5d6ceea4908a635393063d843dcf
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