-
Notifications
You must be signed in to change notification settings - Fork 192
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
make rbac max concurrent calls configurable #2331
make rbac max concurrent calls configurable #2331
Conversation
269de8f
to
4f52692
Compare
The following is the coverage report on the affected files.
|
/release-note-none |
4f52692
to
1cc8aa8
Compare
The following is the coverage report on the affected files.
|
@@ -376,6 +378,17 @@ func (r *rbac) handleSCCInNamespace(ctx context.Context, ns *corev1.Namespace) e | |||
return nil | |||
} | |||
|
|||
func getRBACMaxCalls() int { |
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.
Changing an environment variable will lead to the recreation of the pod. So this can be part of init where we change defaultRbacMaxConcurrentCalls if environment variable is provided.
1cc8aa8
to
37a195b
Compare
The following is the coverage report on the affected files.
|
37a195b
to
851b661
Compare
The following is the coverage report on the affected files.
|
851b661
to
adb5b4d
Compare
The following is the coverage report on the affected files.
|
adb5b4d
to
d3f97a8
Compare
The following is the coverage report on the affected files.
|
d3f97a8
to
09274f0
Compare
The following is the coverage report on the affected files.
|
09274f0
to
2d0709a
Compare
The following is the coverage report on the affected files.
|
2d0709a
to
96f6962
Compare
The following is the coverage report on the affected files.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkandasa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jkhelil in the release notes, please describe about the new environment variable |
/cherry-pick release-v0.73.x |
@jkandasa: once the present PR merges, I will cherry-pick it on top of release-v0.73.x in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/lgtm |
@jkandasa: new pull request created: #2337 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Changes
Improvements for Namespace RBAC Reconciliation on OpenShift
OCP_RBAC_MAX_CONCURRENT_CALLS
to configure the maximum number of concurrent calls for namespace RBAC reconciliation. This is particularly useful for clusters with a large number of namespaces.Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lint
before submitting a PRSee the contribution guide for more details.
Release Notes