From b9c893e0556de7a4720d382d2b6c7d7b6903a5b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Baranowski?= Date: Wed, 1 Nov 2023 17:59:28 +0100 Subject: [PATCH] fix: Enable startup probe for gitea's postgres (#1719) 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 | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/services/gitea/9.3.0/defaults/cm.yaml b/services/gitea/9.3.0/defaults/cm.yaml index ba17bec0b..e9e5a469d 100644 --- a/services/gitea/9.3.0/defaults/cm.yaml +++ b/services/gitea/9.3.0/defaults/cm.yaml @@ -51,13 +51,6 @@ data: startupProbe: enabled: true - tcpSocket: - port: http - initialDelaySeconds: 60 - timeoutSeconds: 1 - periodSeconds: 10 - successThreshold: 1 - failureThreshold: 10 # We use startupProbe unlike the default configuration, # to shorten readiness time, set initialDelaySeconds to 5 seconds. livenessProbe: @@ -88,6 +81,8 @@ data: enabled: true primary: priorityClassName: "dkp-critical-priority" + startupProbe: + enabled: true image: tag: 11.16.0-debian-11-r9 persistence: