Chore(stable): BREAKING CHANGE migrate to new common part 2 (#7992)

**Description**
See: https://github.com/truecharts/charts/pull/7900

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [x] ⚠️ 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:**

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

** App addition**

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

- [x] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [x] 🖼️ 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._
This commit is contained in:
Kjeld Schouten-Lebbing
2023-04-14 18:11:04 +02:00
committed by GitHub
parent ad3c093b8a
commit 278904bff0
299 changed files with 4603 additions and 4665 deletions
+104 -113
View File
@@ -50,17 +50,7 @@ j8j9Image:
repository: tccr.io/truecharts/minecraft-java8-openj9
tag: 2023.1.0@sha256:c0d6473a7d23fb5cd6fd4776c4d3346c8266a217ada91362b87029f63e677cb4
pullPolicy: Always
imageSelector: image
securityContext:
readOnlyRootFilesystem: false
runAsNonRoot: false
podSecurityContext:
runAsUser: 0
runAsGroup: 0
service:
main:
ports:
@@ -73,111 +63,112 @@ service:
enabled: true
port: 25575
targetPort: 25575
probes:
liveness:
enabled: true
custom: true
spec:
exec:
command:
- mc-health
readiness:
enabled: true
custom: true
spec:
exec:
command:
- mc-health
startup:
enabled: true
custom: true
spec:
exec:
command:
- mc-health
secretEnv:
RCON_PASSWORD: "secretrconpass"
env:
SERVER_PORT: "{{ .Values.service.main.ports.main.port }}"
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
# 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: ""
# PACKWIZ_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: ""
persistence:
data:
enabled: true
mountPath: "/data"
portal:
enabled: false
open:
enabled: false
securityContext:
container:
readOnlyRootFilesystem: false
runAsNonRoot: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
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 }}"
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
# 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: ""
# PACKWIZ_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: ""
RCON_PASSWORD: "secretrconpass"