To immediately trigger a manual refresh and force reconciliation of an Argo CD ApplicationSet, we can apply a specific refresh annotation directly to the ApplicationSet resource.

For example, the following command force reconcile the awesome-appset immediately:

➜ kubectl annotate applicationset awesome-appset -n argocd \
argocd.argoproj.io/application-set-refresh=true --overwrite

Sample output:

applicationset.argoproj.io/dokuwiki-appset annotated

What This Does Behind the Scenes

  • Bypasses Caches: Applying argocd.argoproj.io/application-set-refresh: "true" tells the ApplicationSet controller to immediately reconcile and completely bypass the repo-server revision cache for Git generators. [1] (https://github.com/argoproj/argo-cd/issues/27798)
  • Forces Re-evaluation: The controller will instantly re-evaluate all template generators to create, update, or remove the underlying Application resources as necessary