Gating Argo CD Syncs with PreSync Hooks for Database Migrations
PreSync hooks let you block an Argo CD sync until a Kubernetes Job succeeds. Here is how to wire that up for database migrations, plus the cleanup and RBAC trade-offs to watch.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
PreSync hooks let you block an Argo CD sync until a Kubernetes Job succeeds. Here is how to wire that up for database migrations, plus the cleanup and RBAC trade-offs to watch.
Argo CD ApplicationSet lets you standardize deployments across clusters, store manifests in Git, and enforce trust boundaries while providing automated sync and health checks.
Use Argo CD ApplicationSet with the cluster generator to create one Application per registered cluster automatically, plus verification and RBAC limits.
Stop duplicating Argo CD manifests. Use ApplicationSets to automate the creation of multiple Applications across dev, staging, and prod using a single template.
Stop duplicating Argo CD Application manifests. Learn how to use ApplicationSets and generators to automate multi-cluster deployments from a single template.
Automatically create an Argo CD Application for each subdirectory under values/ in a Git repository, so that every environment (e.g., dev, staging, prod) gets its own Helm release using the same chart but its own values file.
Decide whether Argo CD ApplicationSet fits your multi-app rollout, compare generators, and validate generated Applications with kubectl and argocd CLI.
Stop copy-pasting Application manifests. Use Argo CD ApplicationSet generators to create Applications dynamically, with a practical example and operational caveats.
Learn how ApplicationSet reduces boilerplate when you need many similar Argo CD Applications, with a concrete example, trade‑offs, and steps to verify the setup.