From 92fc9843c2e7a9888315eee235be30a8b1ebf8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rodrigues?= Date: Fri, 26 Jun 2026 22:08:24 +0100 Subject: [PATCH] fix(gitea): use Recreate strategy to prevent LevelDB lock conflict SQLite and LevelDB can't be accessed by two pods simultaneously. RollingUpdate starts a new pod before the old one stops, causing the queue lock to fail on startup. Recreate terminates the old pod first. Co-Authored-By: Claude Sonnet 4.6 --- infrastructure/terraform/gitea.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/terraform/gitea.tf b/infrastructure/terraform/gitea.tf index 0eaeb30..e9aa833 100644 --- a/infrastructure/terraform/gitea.tf +++ b/infrastructure/terraform/gitea.tf @@ -89,6 +89,10 @@ resource "helm_release" "gitea" { storageClass = "local-path" } + strategy = { + type = "Recreate" + } + resources = { requests = { cpu = "100m", memory = "256Mi" } limits = { cpu = "500m", memory = "512Mi" }