Skip to content

Commit 12d3760

Browse files
authored
fix(codeapi-chart): avoid argo pvc binding deadlock (#8)
1 parent 646ed2e commit 12d3760

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

helm/codeapi/templates/pvc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ metadata:
2424
labels:
2525
{{- include "codeapi.labels" . | nindent 4 }}
2626
annotations:
27-
# Create PVC before the init job runs in Argo CD syncs.
28-
"argocd.argoproj.io/sync-wave": "-10"
27+
# Apply with the init job so WaitForFirstConsumer storage can bind.
28+
"argocd.argoproj.io/sync-wave": "-5"
2929
# Keep the PVC across app deletion/prune events.
3030
"helm.sh/resource-policy": keep
3131
spec:

0 commit comments

Comments
 (0)