From 7baf922050080a144c7d44bfa245d6e36de651b6 Mon Sep 17 00:00:00 2001 From: Mao-Lin Wang Date: Wed, 11 Dec 2024 17:52:20 +0800 Subject: [PATCH] feat: update default preStop hook sleep from 15s to 60s --- simple/Chart.yaml | 2 +- simple/templates/_container.tpl | 2 +- simple/templates/_container_legacy.tpl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/simple/Chart.yaml b/simple/Chart.yaml index 41b9a21b..fe828c57 100644 --- a/simple/Chart.yaml +++ b/simple/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 description: Helm chart with simple deployment/service template name: simple -version: 0.22.0 +version: 0.23.0 appVersion: 0.0.1 tillerVersion: ">=2.14.3" diff --git a/simple/templates/_container.tpl b/simple/templates/_container.tpl index 523c0ca0..5aa27d16 100644 --- a/simple/templates/_container.tpl +++ b/simple/templates/_container.tpl @@ -77,6 +77,6 @@ lifecycle: preStop: exec: - command: ["sleep", "15"] + command: ["sleep", "60"] {{- end }} {{- end -}} \ No newline at end of file diff --git a/simple/templates/_container_legacy.tpl b/simple/templates/_container_legacy.tpl index 9cd62667..77ceea4b 100644 --- a/simple/templates/_container_legacy.tpl +++ b/simple/templates/_container_legacy.tpl @@ -56,6 +56,6 @@ lifecycle: preStop: exec: - command: ["sleep", "15"] + command: ["sleep", "60"] {{- end }} {{- end -}} \ No newline at end of file