Progressive sync constantly resyncs apps that need pruning #21528
Labels
appset/progressive-syncs
Issues related to the ApplicationSet progressive syncs feature.
bug
Something isn't working
component:application-sets
Bulk application management related
Checklist:
argocd version
.Describe the bug
If an app has resources that need to be pruned and progressive sync is enabled the app will be moved to
Waiting
status which will start a sync that does nothing. After the sync finishes the same process repeats again causing infinite sync loop.This line
argo-cd/applicationset/controllers/applicationset_controller.go
Line 1098 in 11b8665
To Reproduce
Create an appset with progressive sync.
Make a change that removes some resource.
Watch appset controller do the same thing over and over again.
Expected behavior
If the only App changes are resource removal and pruning is not enabled by default App shouldn't start syncing automatically.
Version
Logs
appset controller logs:
The text was updated successfully, but these errors were encountered: