minecraft - add modrinth type (#1906)

This commit is contained in:
Stavros Kois
2023-12-19 08:42:14 +02:00
committed by GitHub
parent fd65b70df3
commit 16afc983cd
3 changed files with 5 additions and 3 deletions

View File

@@ -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'

View File

@@ -111,6 +111,8 @@ questions:
description: Limbo
- value: MAGMA
description: Magma
- value: MODRINTH
description: Modrinth
- value: MOHIST
description: Mohist
- value: FABRIC

View File

@@ -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 -}}