Bug 1832668
| Summary: | kubeadmin couldn't retrieve infra indices | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED NOTABUG | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.5 | CC: | aos-bugs |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-08 11:14:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Anping Li
2020-05-07 03:49:47 UTC
I'll need to ask the auth team to carify. Results from my test: $ oc whoami kube:admin $ oc auth can-i get pods --subresource=log -n default --token=$(oc whoami -t) yes $ oc auth can-i get pods --subresource=log -n default --as=kubeadmin no $ oc auth can-i get pods --subresource=log -n default --as=kube:admin no Full ref to the answer but this is not a bug: https://coreos.slack.com/archives/CB48XQ4KZ/p1588874315324400 Stefan Schimanski 3 hours ago // BootstrapUser is the magic bootstrap OAuth user that can perform any action BootstrapUser = "kube:admin" Stefan Schimanski 3 hours ago kube:admin is not subject of rbac at all This implies the experience one would see as "kube:admin" and using our designed access would evaluate in the same way as "oc auth can-i" since they both use a SAR to evaluate RBAC. Closing NOTABUG |