add PreSync hook + sync-wave for fully automated on first sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user