From 16afc983cdb3fd1e7005ecf72dafb2a679b5929c Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 19 Dec 2023 08:42:14 +0200 Subject: [PATCH] minecraft - add modrinth type (#1906) --- library/ix-dev/community/minecraft/Chart.yaml | 2 +- library/ix-dev/community/minecraft/questions.yaml | 2 ++ .../ix-dev/community/minecraft/templates/_configuration.tpl | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/library/ix-dev/community/minecraft/Chart.yaml b/library/ix-dev/community/minecraft/Chart.yaml index 100655841a..e86c14e0a2 100644 --- a/library/ix-dev/community/minecraft/Chart.yaml +++ b/library/ix-dev/community/minecraft/Chart.yaml @@ -3,7 +3,7 @@ description: Minecraft is a sandbox game annotations: title: Minecraft type: application -version: 1.1.9 +version: 1.1.10 apiVersion: v2 appVersion: 2023.12.2 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/community/minecraft/questions.yaml b/library/ix-dev/community/minecraft/questions.yaml index f30b00142e..e5f14046d7 100644 --- a/library/ix-dev/community/minecraft/questions.yaml +++ b/library/ix-dev/community/minecraft/questions.yaml @@ -111,6 +111,8 @@ questions: description: Limbo - value: MAGMA description: Magma + - value: MODRINTH + description: Modrinth - value: MOHIST description: Mohist - value: FABRIC diff --git a/library/ix-dev/community/minecraft/templates/_configuration.tpl b/library/ix-dev/community/minecraft/templates/_configuration.tpl index b2b020b64e..a169160c3e 100644 --- a/library/ix-dev/community/minecraft/templates/_configuration.tpl +++ b/library/ix-dev/community/minecraft/templates/_configuration.tpl @@ -58,8 +58,8 @@ configmap: {{- $types := (list "VANILLA" "SPIGOT" "BUKKIT" "CATSERVER" "CRUCIBLE" "AUTO_CURSEFORGE" "CUSTOM" "FABRIC" "FTBA" "FORGE" - "LOLISERVER" "LIMBO" "MAGMA" "MOHIST" "FABRIC" "PAPER" - "PUFFERFISH" "PURPUR" "QUILT") -}} + "LOLISERVER" "LIMBO" "MAGMA" "MODRINTH" "MOHIST" + "FABRIC" "PAPER" "PUFFERFISH" "PURPUR" "QUILT") -}} {{- if not (mustHas .Values.mcConfig.type $types) -}} {{- fail (printf "Minecraft - Expected [Type] to be one of [%s], but got [%s]" (join ", " $types) .Values.mcConfig.type) -}} {{- end -}}