Skip to content

Commit

Permalink
fix: Correctly wrap the required check for FTBA (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
ananace authored Apr 7, 2023
1 parent ddf8cf4 commit 396272c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/minecraft/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: minecraft
version: 4.7.2
version: 4.7.3
appVersion: SeeValues
home: https://minecraft.net/
description: Minecraft server
Expand Down
2 changes: 1 addition & 1 deletion charts/minecraft/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ spec:
{{- else if eq .Values.minecraftServer.type "PAPER" }}
{{- template "minecraft.envMap" list "PAPER_DOWNLOAD_URL" .Values.minecraftServer.paperDownloadUrl }}
{{- else if eq .Values.minecraftServer.type "FTBA" }}
{{- template "minecraft.envMap" list "FTB_MODPACK_ID" required "You must supply a minecraftserver.ftbModpackVersionID with type=FTBA" .Values.minecraftServer.ftbModpackId }}
{{- template "minecraft.envMap" list "FTB_MODPACK_ID" (required "You must supply a minecraftserver.ftbModpackVersionID with type=FTBA" .Values.minecraftServer.ftbModpackId) }}
{{- if .Values.minecraftServer.ftbModpackVersionId }}
{{- template "minecraft.envMap" list "FTB_MODPACK_VERSION_ID" .Values.minecraftServer.ftbModpackVersionId }}
{{- end }}
Expand Down

0 comments on commit 396272c

Please sign in to comment.