How do you force a refresh or hard refresh of an Application?
Short answer
A refresh makes ArgoCD re-check Git and recompute status without applying; a hard refresh also re-runs manifest generation (bypassing the repo cache), useful when a Helm/Kustomize render or external chart changed but the cache is stale.
Advertisement
AModel answer
A refresh makes ArgoCD re-check Git and recompute status without applying; a hard refresh also re-runs manifest generation (bypassing the repo cache), useful when a Helm/Kustomize render or external chart changed but the cache is stale. Use `argocd app get --refresh` or `--hard-refresh`, or the UI refresh options.
Example
argocd app get my-app --refresh argocd app get my-app --hard-refresh
Real-world example
After updating a values file, a hard refresh forces ArgoCD to re-render the chart instead of using cached manifests.
Likely follow-ups
- When is a hard refresh needed? | Does refresh apply changes?
Related topics