-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
RollingSync strategy for multiple ApplicationSets #14458
Comments
Since this is specific to the Progressive Sync feature, can someone add the |
Sounds cool. With 2.8 introducing applicationsets-in-any-namespace, we probably need something like Should we move the |
You're right, forgot about the namespace. I edited the issue with your suggestion and changed the kind from |
One alternative to needing the namespace for reference is to add namespace and cluster-scoped CRDs for re-usable sync strategies. Being able to reference namespace-scoped strategies in other namespaces could be useful, since they wouldn't require cluster-scoped permissions to apply. 🤔 In general I believe k8s leans toward the former approach for security best-practices with managing multi-tenant clusters. |
Just to make sure I'm understanding properly: you're suggesting something similar to ClusterRole/Role where we would have a cluster-scoped ClusterSyncStrategy and a namespaced SyncStrategy? If so, I think it you're right, it would be more aligned with what k8s is already doing. |
Yes, exactly. This suggestion was provided by the skyscanner folks that built the original concept that Progressive Sync is based on. https://github.com/Skyscanner/applicationset-progressive-sync |
Well-demanded feature for us! |
Looking forward to have it soon |
Would be great if this got implemented as we need this exactly in our setup |
Summary
Add a way to define a RollingSync strategy in one place and refer to it in different ApplicationSets
Motivation
The RollingSync strategy for Progressive Sync requires the steps to be defined in the ApplicationSet. This leads to a lot of duplication because there are often common patterns for strategy, especially across a team's ApplicationSets. It would be a good QoL improvement if we could define the strategy in one place and refer to it in other ApplicationSets.
Proposal
A CRD to define the strategy:
In the ApplicationSet, refer to the resource instead:
The text was updated successfully, but these errors were encountered: