Bläddra i källkod

minecraft - add modrinth type (#1906)

Stavros Kois 1 år sedan
förälder
incheckning
16afc983cd

+ 1 - 1
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'

+ 2 - 0
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

+ 2 - 2
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 -}}