From 8feeaa24a97fe50a2ec2a60bd908d90f8b33fe63 Mon Sep 17 00:00:00 2001 From: Julien DOCHE Date: Sun, 16 Feb 2020 19:35:28 +0100 Subject: [PATCH] [stable/minecraft] Add failure/successThreshold and timeoutSeconds conf (#20794) Signed-off-by: Julien DOCHE --- stable/minecraft/Chart.yaml | 2 +- stable/minecraft/templates/deployment.yaml | 6 ++++++ stable/minecraft/values.yaml | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/stable/minecraft/Chart.yaml b/stable/minecraft/Chart.yaml index bd56bfabf2..999fd10eca 100755 --- a/stable/minecraft/Chart.yaml +++ b/stable/minecraft/Chart.yaml @@ -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 diff --git a/stable/minecraft/templates/deployment.yaml b/stable/minecraft/templates/deployment.yaml index 525eddfa0c..da33ee5ddd 100644 --- a/stable/minecraft/templates/deployment.yaml +++ b/stable/minecraft/templates/deployment.yaml @@ -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 }} diff --git a/stable/minecraft/values.yaml b/stable/minecraft/values.yaml index b99d7f54e2..5fa42213d6 100644 --- a/stable/minecraft/values.yaml +++ b/stable/minecraft/values.yaml @@ -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"