Open shturcite opened 2 years ago
I am playing with combinations of those options in an attempt to make it work but still remain unsuccessful:
And yes, I am aware of the anti-pattern of such a short cache. This is only me trying to make it work. Afterwards I'll tweak and optimise it accordingly.
Another ugly hack is to trigger hard refresh via API or CLI calls to ArgoCD during CI deploys.
Can you try adding this annotation argocd.argoproj.io/refresh: hard
? And does this solve your use case?
https://github.com/argoproj/argo-cd/blob/cc4eea0d6951f1025c9ebb487374658186fa8984/pkg/apis/application/v1alpha1/application_annotations.go#L6
Yes, this works even though it would have been nice if ArgoCD could do this automatically on a configurable time internval when used with private Helm repo.
Can you try adding this annotation
argocd.argoproj.io/refresh: hard
? And does this solve your use case?
This doesnt fix the issue. Still argocd application is unable to fetch the new secret from secret manager. It works only when i do hard refresh
I have a similar issue with v2.10.1+a79e0ea
version.
I have set the helm repo for the application. When pushing new charts to the helm repository, I expect ArgoCD to pull the changes every 3 minutes by default, which it doesn't.
I can only get new resourced created and auto-synced when I press HARD REFRESH.
Is there any solution to fix this issue to have ArgoCD watching for changes in the helm reposity for the specified chart and on new manifest publish it sync the applications?
Experiencing the same behaviour, any updates on this?
Checklist:
argocd version
.Describe the bug ArgoCD doesn't refresh the deployed applications on it's own and never pulls down latest changes from the Harbor Helm repo. If we however do hard-refresh via UI or CLI then it immediately notices the changes and shows the app as out of sync along with the diff.
To Reproduce ArgoCD is installed via Helm, with defaults mostly and without much custom config. Tried adding my values.yaml, but it was too big.
Expected behavior
Auto refresh works as specifiled by the timeout.reconciliation: value
Screenshots
Version
Logs