add PreSync hook + sync-wave for fully automated on first sync

This commit is contained in:
2026-09-23 18:04:40 +02:00
parent 5d2dce82b7
commit c5d28ee3b5
3 changed files with 13 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ metadata:
annotations:
# ArgoCD: run this before the Deployment is synced, on every sync where it changed
argocd.argoproj.io/hook: PreSync
argocd.argoproj.io/sync-wave: "0"
argocd.argoproj.io/hook-delete-policy: BeforeHookCreation
spec:
backoffLimit: 2