mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
extraEnv and forceReDownload options (#14772)
Signed-off-by: Jeff Billimek <jeff@billimek.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
f3b1e2329e
commit
2e0540dbe3
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: minecraft
|
||||
version: 1.0.1
|
||||
version: 1.0.2
|
||||
appVersion: 1.13.1
|
||||
home: https://minecraft.net/
|
||||
description: Minecraft server
|
||||
|
||||
@@ -85,6 +85,10 @@ spec:
|
||||
value: {{ .Values.minecraftServer.enableCommandBlock | quote }}
|
||||
- name: FORCE_gameMode
|
||||
value: {{ .Values.minecraftServer.forcegameMode | quote }}
|
||||
{{- if .Values.minecraftServer.forceReDownload }}
|
||||
- name: FORCE_REDOWNLOAD
|
||||
value: "TRUE"
|
||||
{{- end }}
|
||||
- name: GENERATE_STRUCTURES
|
||||
value: {{ .Values.minecraftServer.generateStructures | quote }}
|
||||
- name: HARDCORE
|
||||
@@ -149,6 +153,11 @@ spec:
|
||||
value: {{ .Values.minecraftServer.query.port }}
|
||||
{{- end }}
|
||||
|
||||
{{- range $key, $value := .Values.extraEnv }}
|
||||
- name: {{ $key }}
|
||||
value: {{ $value }}
|
||||
{{- end }}
|
||||
|
||||
ports:
|
||||
- name: minecraft
|
||||
containerPort: 25565
|
||||
|
||||
@@ -105,6 +105,8 @@ minecraftServer:
|
||||
worldSaveName: world
|
||||
# If set, this URL will be downloaded at startup and used as a starting point
|
||||
downloadWorldUrl:
|
||||
# force re-download of server file
|
||||
forceReDownload: false
|
||||
# If set, the modpack at this URL will be downloaded at startup
|
||||
downloadModpackUrl:
|
||||
# If true, old versions of downloaded mods will be replaced with new ones from downloadModpackUrl
|
||||
@@ -126,6 +128,10 @@ minecraftServer:
|
||||
enabled: false
|
||||
port: 25565
|
||||
|
||||
## Additional minecraft container environment variables
|
||||
##
|
||||
extraEnv: {}
|
||||
|
||||
persistence:
|
||||
## minecraft data Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
|
||||
Reference in New Issue
Block a user