From 187fd63699d2775b3f235c50703c643b9c3786da Mon Sep 17 00:00:00 2001 From: Roland Schlaefli Date: Mon, 29 Jun 2026 23:25:56 +0200 Subject: [PATCH] fix(codeapi-chart): avoid argo pvc binding deadlock --- helm/codeapi/templates/pvc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/codeapi/templates/pvc.yaml b/helm/codeapi/templates/pvc.yaml index 570c924..1c4a5ac 100644 --- a/helm/codeapi/templates/pvc.yaml +++ b/helm/codeapi/templates/pvc.yaml @@ -24,8 +24,8 @@ metadata: labels: {{- include "codeapi.labels" . | nindent 4 }} annotations: - # Create PVC before the init job runs in Argo CD syncs. - "argocd.argoproj.io/sync-wave": "-10" + # Apply with the init job so WaitForFirstConsumer storage can bind. + "argocd.argoproj.io/sync-wave": "-5" # Keep the PVC across app deletion/prune events. "helm.sh/resource-policy": keep spec: