diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 36e0291..f4361f3 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.13 - name: Set up chart-testing uses: helm/chart-testing-action@v2.0.1 diff --git a/charts/minecraft/Chart.yaml b/charts/minecraft/Chart.yaml index e3ea575..3c51399 100755 --- a/charts/minecraft/Chart.yaml +++ b/charts/minecraft/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: minecraft -version: 4.23.6 +version: 4.23.7 appVersion: SeeValues home: https://minecraft.net/ description: Minecraft server diff --git a/charts/minecraft/templates/deployment.yaml b/charts/minecraft/templates/deployment.yaml index a5bb684..71943c0 100644 --- a/charts/minecraft/templates/deployment.yaml +++ b/charts/minecraft/templates/deployment.yaml @@ -145,6 +145,9 @@ spec: {{- else if eq .Values.minecraftServer.type "CURSEFORGE" }} {{- template "minecraft.envMap" list "CF_SERVER_MOD" .Values.minecraftServer.cfServerMod }} {{- template "minecraft.envMap" list "FTB_LEGACYJAVAFIXER" .Values.minecraftServer.ftbLegacyJavaFixer }} + {{- else if eq .Values.minecraftServer.type "FABRIC" }} +{{- template "minecraft.envMap" list "FABRIC_LAUNCHER_VERSION" .Values.minecraftServer.fabricLauncherVersion }} +{{- template "minecraft.envMap" list "FABRIC_LOADER_VERSION" .Values.minecraftServer.fabricLoaderVersion }} {{- end }} {{- template "minecraft.envMap" list "VERSION" .Values.minecraftServer.version }} {{- template "minecraft.envMap" list "DIFFICULTY" .Values.minecraftServer.difficulty }} diff --git a/charts/minecraft/values.yaml b/charts/minecraft/values.yaml index 1f52e19..b21f206 100644 --- a/charts/minecraft/values.yaml +++ b/charts/minecraft/values.yaml @@ -171,15 +171,17 @@ minecraftServer: eula: "FALSE" # One of: LATEST, SNAPSHOT, or a specific version (ie: "1.7.9"). version: "LATEST" - # This can be one of "VANILLA", "FORGE", "SPIGOT", "BUKKIT", "PAPER", "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE" - # https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms + ## The type of Minecraft server to run, check for related settings below + ## Common types: "VANILLA", "FABRIC", "FORGE", "SPIGOT", "BUKKIT", "PAPER", + ## "FTBA", "SPONGEVANILLA", "AUTO_CURSEFORGE" + ## ref: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms type: "VANILLA" # If type is set to FORGE, this sets the version; this is ignored if forgeInstallerUrl is set forgeVersion: - # If type is set to SPONGEVANILLA, this sets the version - spongeVersion: # If type is set to FORGE, this sets the URL to download the Forge installer forgeInstallerUrl: + # If type is set to SPONGEVANILLA, this sets the version + spongeVersion: # If type is set to BUKKIT, this sets the URL to download the Bukkit package bukkitDownloadUrl: # If type is set to SPIGOT, this sets the URL to download the Spigot package @@ -192,6 +194,14 @@ minecraftServer: ftbModpackVersionId: # If type is set to CURSEFORGE, this sets the server mod to run. Can also provide url to curseforge package. cfServerMod: + ## If type is set to FABRIC, this sets the version of fabric server launcher + ## to use. Defaults to latest available for minecraftServer.version. + ## + ## For a custom launcher, see: https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/fabric/ + fabricLauncherVersion: + ## If type is set to FABRIC, this sets the version of fabric-loader to use. + ## Defaults to latest available for minecraftServer.version. + fabricLoaderVersion: # Set to true if running Feed The Beast and get an error like "unable to launch forgemodloader" ftbLegacyJavaFixer: default # One of: peaceful, easy, normal, and hard