Rollback in Argo CD Removes ServerSideApply=true from syncPolicy Configuration #20183
Labels
bug
Something isn't working
component:application-controller
component:server-side-apply
component:sync
more-information-needed
Further information is requested
version:EOL
Latest confirmed affected version has reached EOL
Checklist:
argocd version
.Describe the bug
We are experiencing an issue with Argo CD where rolling back an application unexpectedly alters our syncPolicy setup, specifically losing the ServerSideApply=true option.
Current Setup:
After performing a rollback, we observe:
This prevents us from applying previous ConfigMaps as expected because the ServerSideApply flag is necessary for large ConfigMaps.
Additional Observations:
When testing rollbacks with syncPolicy:
and with auto-sync disabled, ArgoCD does not reset syncOptions, leading to a successful rollback.
To Reproduce
Configure an Argo CD application with the following syncPolicy:
Perform a rollback to a previous version of the application via the Argo CD UI or CLI.
Observe that the resultant configuration is missing syncOptions.
Expected behavior
After rollback, the syncPolicy should remain:
Version
Taken from UI
The text was updated successfully, but these errors were encountered: