Open djvs opened 2 years ago
I think this is the setting (3 minute, configured somewhere for argo-repo-server) - https://github.com/argoproj/argo-cd/issues/7893 . The fact that there's (?) no way to bypass this is brutal.
I think this is the setting (3 minute, configured somewhere for argo-repo-server) - #7893 . The fact that there's (?) no way to bypass this is brutal.
ArgoCD polls configured git repositories every 3 minutes but if you want to bypass this delay you can setup a git webhook. Argo CD supports Git webhook notifications from GitHub, GitLab, Bitbucket, Bitbucket Server and Gogs. Here is the documentation for setting up a webhook.
Not possible on non-WAN-accessible instance though.
Set timeout.reconciliation to a lower number
^ This apparently has not worked either (I saw some other issues about the same thing - the logs for the pod that shows the reconciliation lumped them all with the same timestamp when I checked, or something like that).
Still, an actual way to trigger a manual sync would be a huge improvement.
Noting here also that update/webhook triggers seems to only work on git/ssh type repositories, not the https kind - otherwise it defaults always to the 3 minutes.
From a Web UI perspective, IMHO, the ideal solution here is to add a "refresh" or "fetch" button on a per-repository basis in Settings / Repositories, that would instruct the argocd-repo-server
to manually pull:
Perhaps we could update the issue title to: "FR: Provide a way to manually fetch from git repositories, bypassing polling" (and note that the desired solution is a mechanism IN ADDITION TO webhooks).
Edit: Apparently it's possible to do so from the CLI: https://github.com/argoproj/argo-cd/issues/914#issuecomment-1618625208
Checklist:
argocd version
.Describe the bug
Some kind of caching issue or maybe rate limiting issue prevents immediate helm repo sync, and it takes ~5 minutes for even a manual chart update to make it through Argo.
To Reproduce
Expected behavior
Clicking one of "Sync", "Hard Refresh" etc. should immediately notice there's an updated chart on Github helm chart repo.
Screenshots
Version
(from UI) v2.1.3+d855831
Logs