How do Git webhooks make Argo CD faster?
BeginnerConceptArgo CD Architecture & Internals
Answer
Without webhooks, Argo CD polls every 180 seconds. A webhook from GitHub, GitLab, Bitbucket or Gogs to https://argocd.example.com/api/webhook tells argocd-server which repo and branch changed, and it immediately refreshes the matching Applications. Secure it with a shared secret (webhook.github.secret in argocd-secret). With webhooks in place, you can raise the polling interval and cut Git API load.
More on Argo CD Architecture & Internals
What are the main components of Argo CD?BeginnerWhat does the argocd-repo-server do, and what does it not do?BeginnerWhat does the application controller do on each reconcile?IntermediateWhat is stored in Redis, and what happens if Redis is lost?IntermediateWhy is the application controller a StatefulSet rather than a Deployment?AdvancedWhere does Argo CD keep its configuration?Beginner