applicationset
applicationset copied to clipboard
Possible to disable autosync from the ArgoCD GUI when using ApplicationSet?
Is it possible to disable autosync from the ArgoCD GUI (for troubleshooting, etc) when using ApplicationSet? We've observed when apps have been migrated to use ApplicationSet vs Application, the ArgoCD GUI button to disable AutoSync no longer works - you can click it, but it just spins and then goes back to the default setting.
As a workaround, we can push a PR to disable autosync, but it would be nice if we could do this from the GUI for troubleshooting purposes.
Hi @rayterrill , this is discussed here: https://argocd-applicationset.readthedocs.io/en/stable/Controlling-Resource-Modification
I wonder if allowing something like this would solve this problem?
https://www.pulumi.com/docs/intro/concepts/resources/#ignorechanges
https://www.terraform.io/docs/language/meta-arguments/lifecycle.html#ignore_changes
basically what you are saying, is very similar, in that I want to deploy something, with an initial state, but there's another external process that's going to be modifying this over time. Don't revert those changes next time you sync.
This is also similar to the desired behavior of the usage of an HPA and the replicas field of a deployment.
Generally we only use this temporarily - like we want to stop the sync process, make some manual changes to test something out of debug something, then we'll turn sync back on. Our "gold state" is synced - but we need the ability to disable that temporarily (for now, I reverted much of what I had converted to ApplicationSet to give us back this capability but I'd love to get it back into AppSet).
I believe we could in a pinch delete the ApplicationSet and intentionally "orphan" the Applications, then put the AppSet back when we're done - I actually used this to do some moving around of our resources - but something more user-friendly would be awesome for our devs.
I also went away from appsets for this reason
Hello there,
We're interested also for a solution regarding this enhancement, any updates ?
We are also interested in this.
Just came across this issue as well. This is a rather glaring omission IMO, the UX is rather broken when attempting to pause sync via the UI. Also related - different apps in the appset should be able to set different sync settings
i tried to use annotation to prevent sync temporarily at version 2.7.2, but unfortunately it doesn't work
argocd.argoproj.io/skip-reconcile: "true"``