-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 the default system:admin client cert a system:masters #17414
make the default system:admin client cert a system:masters #17414
Conversation
cc @openshift/sig-security |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, liggitt The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
79488cc
to
bad832c
Compare
Why is this needed/requested ? |
When debugging a cluster locally, trying to make requests to the apiserver, system:masters gets to bypass all rate limiting. Without this, you cannot debug or gather metrics because your request gets ratelimited and rejected server-side. |
well system:masters bypasses every access check, not just rate limiting afaik, is this ok ? |
Yes. The expectation (even before) was that |
/retest |
/reteat |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@deads2k: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
Automatic merge from submit-queue. |
I think this will be fine, if anything this will allow ansible to bypass rate limiting when it interacts with the API which would be nice. |
openshift/origin#17414 introduced a second organization value `system:masters`. Apparently GnuTLS mis-handles multiple RDNs by re-ordering them and then rejecting the client certificate due to a mismatching subject. When building the openshift-prerelease image (and only then), work around this by regenerating the admin certificate with swapping the `O:` fields around. This is an utter hack, but unblocks testing OpenShift 3.9 for now. See openshift/origin#18715 for details.
openshift/origin#17414 introduced a second organization value `system:masters`. Apparently GnuTLS mis-handles multiple RDNs by re-ordering them and then rejecting the client certificate due to a mismatching subject. When building the openshift-prerelease image (and only then), work around this by regenerating the admin certificate with swapping the `O:` fields around. This is an utter hack, but unblocks testing OpenShift 3.9 for now. See openshift/origin#18715 for details.
The system:admin is a super user, add him to system:masters.
@sdodson does ansible wire this differently?
@derekwaynecarr @eparis per request.