Skip to content

Commit 07056c2

Browse files
committed
Add option to disable TTY
1 parent 5eb6182 commit 07056c2

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

charts/minecraft/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: minecraft
3-
version: 4.23.4
3+
version: 4.23.5
44
appVersion: SeeValues
55
home: https://minecraft.net/
66
description: Minecraft server

charts/minecraft/templates/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ spec:
7272
- name: {{ template "minecraft.fullname" . }}
7373
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
7474
imagePullPolicy: {{ .Values.image.pullPolicy }}
75-
tty: true
75+
tty: {{ default true .Values.minecraftServer.tty }}
7676
stdin: true
7777
{{- if or (.Values.lifecycle.postStart) (.Values.lifecycle.preStop)}}
7878
lifecycle:

charts/minecraft/values.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,9 @@ minecraftServer:
365365
## Set the externalTrafficPolicy in the Service to either Cluster or Local
366366
# externalTrafficPolicy: Cluster
367367

368+
## set this to false to not have colorized logs
369+
tty: true
370+
368371
extraPorts:
369372
[]
370373

0 commit comments

Comments
 (0)