mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/minecraft] Add failure/successThreshold and timeoutSeconds conf (#20794)
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: minecraft
|
||||
version: 1.1.6
|
||||
version: 1.1.7
|
||||
appVersion: 1.14.4
|
||||
home: https://minecraft.net/
|
||||
description: Minecraft server
|
||||
|
||||
@@ -38,12 +38,18 @@ spec:
|
||||
{{ toYaml .Values.readinessProbe.command | indent 14 }}
|
||||
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
|
||||
successThreshold: {{ .Values.readinessProbe.successThreshold }}
|
||||
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
|
||||
livenessProbe:
|
||||
exec:
|
||||
command:
|
||||
{{ toYaml .Values.livenessProbe.command | indent 14 }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
successThreshold: {{ .Values.livenessProbe.successThreshold }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
env:
|
||||
- name: EULA
|
||||
value: {{ .Values.minecraftServer.eula | quote }}
|
||||
|
||||
@@ -29,6 +29,9 @@ livenessProbe:
|
||||
- status
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
failureThreshold: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
readinessProbe:
|
||||
command:
|
||||
- mcstatus
|
||||
@@ -36,6 +39,9 @@ readinessProbe:
|
||||
- status
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
failureThreshold: 10
|
||||
successThreshold: 1
|
||||
timeoutSeconds: 1
|
||||
minecraftServer:
|
||||
# This must be overridden, since we can't accept this for the user.
|
||||
eula: "FALSE"
|
||||
|
||||
Reference in New Issue
Block a user