-
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
[3.6] Fix issues related to the migration to RBAC and the Kubernetes authorizer #15348
[3.6] Fix issues related to the migration to RBAC and the Kubernetes authorizer #15348
Conversation
This change makes it so that the conversion for authorization policy correctly handles when a RBAC role binding references a cluster role. The code incorrectly assumed that the role binding's namespace was the referenced role's namespace as well. Now we use the role's kind to determine its namespace. This was missed by the fuzzer tests because they only made role bindings to roles. The tests have been updated to create bindings to both types of roles. Signed-off-by: Monis Khan <[email protected]>
This change normalizes the cluster-quota-reconciliation-controller's bootstrap role so that it will work with the Kubernetes authorizer which is case sensitive. Signed-off-by: Monis Khan <[email protected]>
[merge][severity:blocker] |
|
re[merge] flake #14575 |
[test] |
Labelling this PR as size/M |
@derekwaynecarr @smarterclayton @liggitt this seems to be broken on #15252 |
#15252 was to reenable tests disabled as part of the rebase. IIRC, those two had just been enabled a couple weeks earlier after having been disabled for being flaky. Since this is against release-3.6, it's clearly unaffected by the rebase. Were we wrong to enable those tests for 3.6? |
Labelling this PR as size/M |
[merge][test] GCE PV fix was merged for ansible |
Still broken on |
required an image rebuild/repush, got updated around 5:30pm. [test][merge] |
Evaluated for origin test up to 3e477e4 |
Evaluated for origin merge up to 3e477e4 |
continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3470/) (Base Commit: 7b73dab) (PR Branch Commit: 3e477e4) |
continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1375/) (Base Commit: 7b73dab) (PR Branch Commit: 3e477e4) (Extended Tests: blocker) (Image: devenv-rhel7_6479) |
Cherry-pick of #15342 into release-3.6
@liggitt PTAL
[test]