applicationset controller should not clear argocd.argoproj.io/refresh
annotation
#10500
Labels
bug
Something isn't working
component:application-sets
Bulk application management related
good first issue
Good for newcomers
Describe the bug
When refreshing an application, the appset-controller will blindly replace the Applications
.metadata.annotations
with the annotations specified in the template. This means it will also clear theargocd.argoproj.io/refresh
annotation that gets set on the application during a refreshThis could lead to situations where the app-controller could miss the refresh request because the appset-controller had already deleted the annotation.
To Reproduce
Expected behavior
ApplicationSet controller should not touch
argocd.argoproj.io/refresh
as this field should only be cleared by app-controller.Version
Argo CD v2.4.*
The text was updated successfully, but these errors were encountered: