From ee1bbed92198b8a752b6166e61003db0f708f29b Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Thu, 13 Aug 2026 10:47:57 -0700 Subject: [PATCH] =?UTF-8?q?fix(forgejo):=20strategy=20Recreate=20for=20RWO?= =?UTF-8?q?=20data=20PVC=20=E2=80=94=20RollingUpdate=20deadlocked=20(new?= =?UTF-8?q?=20pod=20Multi-Attach=20error=20on=20the=20RWO=20gitea=20PVC=20?= =?UTF-8?q?held=20by=20the=20old=20pod,=20stuck=20Init=20forever)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- k8s/bootstrap/phase3-forgejo/forgejo-values.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/k8s/bootstrap/phase3-forgejo/forgejo-values.yaml b/k8s/bootstrap/phase3-forgejo/forgejo-values.yaml index c6b798d..99ef5eb 100644 --- a/k8s/bootstrap/phase3-forgejo/forgejo-values.yaml +++ b/k8s/bootstrap/phase3-forgejo/forgejo-values.yaml @@ -1,6 +1,13 @@ # Forgejo Helm Values — Single Source of Truth # Chart: https://codeberg.org/forgejo-contrib/forgejo-helm +# Recreate (not RollingUpdate): the gitea data volume is a single RWO PVC. With +# RollingUpdate the new pod tries to attach the PVC while the old pod still holds +# it -> "Multi-Attach error", new pod stuck Init forever, rollout wedged. Recreate +# terminates the old pod first so the PVC detaches before the new one starts. +strategy: + type: Recreate + # Disable bundled dependencies (use external CNPG + Redis instead) postgresql-ha: enabled: false