mirror of
https://github.com/truenas/charts.git
synced 2026-04-09 13:48:48 +08:00
minecraft - add modrinth type (#1906)
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -111,6 +111,8 @@ questions:
|
||||
description: Limbo
|
||||
- value: MAGMA
|
||||
description: Magma
|
||||
- value: MODRINTH
|
||||
description: Modrinth
|
||||
- value: MOHIST
|
||||
description: Mohist
|
||||
- value: FABRIC
|
||||
|
||||
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user