-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.6 RC1 - Progressive Rollout does not respect SyncWindows #11817
Comments
Hey @crenshaw-dev! Do you know if this will make the 2.6 cut? Thanks! |
@thober35 tbh I doubt it. Too many other things to knock out I'm afraid. :-( |
Is there a good way I can get notifications about progressive rollout issues? I'm a little surprised that the sync would be allowed, but would need to understand how SyncWindows gate manual sync actions to understand why it's still working. I agree that it's unlikely this can be resolved before the 2.6 release. |
@wmgroot I can start adding that label to issues. My guess is that the application controller doesn't actually enforce sync windows, and that happens at the API server level. But I could be wrong. |
Hey all, out of curiosity, what's the status of this issue? |
@mtougeron in need of a PR author. |
thanks for the update, I appreciate it. |
Just want to chime in with some more details on the state of this issue. The right way to solve this is likely on the application controller side rather than the applicationset controller side. I think this may be an oversight with the current implementation of sync windows. SyncWindows are defined on AppProject resources, meaning they should not be able to be bypassed by users if they're set up to not allow manual overrides. We allow users to freely manipulate their own Argo Applications, but restrict access to AppProject resources that require central approval from our Argo maintainers. As it stands now, a user with access to modify their Argo Application can freely bypass any configured sync window by modifying the |
Yep, 100% agree. |
Checklist:
argocd version
.Describe the bug
Using the new Progressive Rollout Feature for ApplicationSets
If I have an active SyncWindow on my application with an explicit deny at all times and make a change in the source (i.e. helm chart)
The syncWindow is not respected and the sync starts right away
To Reproduce
Issue seems to appear when directly editing the source repo i.e helm chart change. In this example I change message2 to a hardcoded value.
Expected behavior
Applications are not synced as sync window with explicit deny is active. As soon as sync window is removed, the sync should start.
Screenshots

Version
Logs
The text was updated successfully, but these errors were encountered: