From 41097d9206a63dda0025ea979ff80990432f1f1d Mon Sep 17 00:00:00 2001 From: Yadunand Prem Date: Tue, 7 Oct 2025 10:55:39 +0800 Subject: [PATCH] add a liveness probe --- apps/base/gitea.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/apps/base/gitea.yaml b/apps/base/gitea.yaml index d6fd65c..0ef2b7b 100644 --- a/apps/base/gitea.yaml +++ b/apps/base/gitea.yaml @@ -101,6 +101,15 @@ spec: gitea: admin: existingSecret: gitea-admin-password + livenessProbe: + httpGet: + path: /api/healthz + port: http + initialDelaySeconds: 200 + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + failureThreshold: 10 config: server: SSH_PORT: 2222