-
Notifications
You must be signed in to change notification settings - Fork 111
ssa: introduce custom apply stage #1077
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
base: main
Are you sure you want to change the base?
Conversation
|
Supersedes #1073 |
erikgb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, and I am really looking forward to seeing this in a future FluxCD release.
| g, ctx := errgroup.WithContext(ctx) | ||
| g.SetLimit(m.concurrency) | ||
| for i, object := range objects { | ||
| i, object := i, object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change unrelated to the purpose of the PR, or have I misunderstood? Maybe do it in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Supersedes #1073
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gonna leave this comment open for context for future readers
Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
2531bf4 to
012d591
Compare
This custom stage allows Role and RoleBinding objects to be applied on the same call to
ApplyAllStagedeven if the authenticated user is notcluster-admin(which bypasses the existence check of the Role on the dry-run for the RoleBinding).