Skip to content

Commit

Permalink
Add option to disable TTY (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maddin-M authored Dec 14, 2024
1 parent 5eb6182 commit 62869b5
Show file tree
Hide file tree
Showing 3 changed files with 5 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.23.4
version: 4.23.5
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 @@ -72,7 +72,7 @@ spec:
- name: {{ template "minecraft.fullname" . }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
tty: true
tty: {{ default true .Values.minecraftServer.tty }}
stdin: true
{{- if or (.Values.lifecycle.postStart) (.Values.lifecycle.preStop)}}
lifecycle:
Expand Down
3 changes: 3 additions & 0 deletions charts/minecraft/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ minecraftServer:
## Set the externalTrafficPolicy in the Service to either Cluster or Local
# externalTrafficPolicy: Cluster

## set this to false to not have colorized logs
tty: true

extraPorts:
[]

Expand Down

0 comments on commit 62869b5

Please sign in to comment.