Blog104.8K views4,329 votes0 replies4,235 following
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.