Skip to content

fix(codeapi-chart): avoid argo pvc binding deadlock#8

Merged
rschlaefli merged 1 commit into
mainfrom
fix/argocd-package-pvc-wffc
Jun 29, 2026
Merged

fix(codeapi-chart): avoid argo pvc binding deadlock#8
rschlaefli merged 1 commit into
mainfrom
fix/argocd-package-pvc-wffc

Conversation

@rschlaefli

Copy link
Copy Markdown
Member

Summary

  • fixes the Argo CD sync deadlock for the CodeAPI packages PVC when the storage class uses WaitForFirstConsumer
  • keeps the packages PVC as a retained normal resource, not a Helm hook
  • applies the PVC in the same sync wave as the package-init Sync hook so the hook pod can bind the volume before deployments roll

Verification

  • helm dependency build helm/codeapi
  • helm template codeapi helm/codeapi -n codeapi -f /private/tmp/df-cloud-codeapi-stg-rollout/helm-charts/codeapi/stg/values.yaml
  • git diff --check

Rendered staging chart now has:

  • PersistentVolumeClaim/codeapi-packages: argocd.argoproj.io/sync-wave: "-5"
  • Job/codeapi-package-init: argocd.argoproj.io/sync-wave: "-5"
  • no helm.sh/hook annotation on the PVC

@rschlaefli rschlaefli merged commit 12d3760 into main Jun 29, 2026
2 checks passed
@rschlaefli rschlaefli deleted the fix/argocd-package-pvc-wffc branch June 29, 2026 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant