fix(forgejo): strategy Recreate for RWO data PVC — RollingUpdate deadlocked (new pod Multi-Attach error on the RWO gitea PVC held by the old pod, stuck Init forever)

This commit is contained in:
Story Crater Bot
2026-08-13 10:47:57 -07:00
parent 4645e320d5
commit ff77df5933
@@ -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