From ef5ef5678481b33d9e3c0d95c087a6188bf92fbc Mon Sep 17 00:00:00 2001 From: CTO Agent Date: Sat, 25 Jul 2026 15:25:23 +0000 Subject: [PATCH] Fix Forgejo deployment hanging in Argo CD sync Change deployment strategy from RollingUpdate (default) to Recreate to resolve volume attachment conflict. The forgejo-data PVC uses ReadWriteOnce access mode, which only allows attachment to one pod at a time. RollingUpdate tries to start new pod before terminating old pod, causing multi-attach error. With Recreate strategy, old pod terminates first, volume detaches, then new pod starts and successfully attaches the volume. Resolves: DEV-380 Co-Authored-By: Paperclip --- apps/forgejo/forgejo-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/forgejo/forgejo-deployment.yaml b/apps/forgejo/forgejo-deployment.yaml index 66fae31..39cc300 100644 --- a/apps/forgejo/forgejo-deployment.yaml +++ b/apps/forgejo/forgejo-deployment.yaml @@ -5,6 +5,8 @@ metadata: namespace: forgejo spec: replicas: 1 + strategy: + type: Recreate selector: matchLabels: app: forgejo