From 8f89cbf7fd87a780c26e0b19e12fb452843aef1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Baranowski?= Date: Mon, 23 Oct 2023 14:19:54 +0200 Subject: [PATCH] chore: Adjust livenessprobe in gitea (#1690) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MikoĊ‚aj Baranowski --- services/gitea/9.3.0/defaults/cm.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/gitea/9.3.0/defaults/cm.yaml b/services/gitea/9.3.0/defaults/cm.yaml index 68d9b46d3..ba17bec0b 100644 --- a/services/gitea/9.3.0/defaults/cm.yaml +++ b/services/gitea/9.3.0/defaults/cm.yaml @@ -58,6 +58,10 @@ data: periodSeconds: 10 successThreshold: 1 failureThreshold: 10 + # We use startupProbe unlike the default configuration, + # to shorten readiness time, set initialDelaySeconds to 5 seconds. + livenessProbe: + initialDelaySeconds: 5 deployment: annotations: secret.reloader.stakater.com/reload: ${tlsCertificateSecret}