Bug 1785448 - cluster-reader is unable to view machine resources
Summary: cluster-reader is unable to view machine resources
Keywords:
Status: CLOSED DUPLICATE of bug 1796412
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: apiserver-auth
Version: 4.2.z
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.4.0
Assignee: Stefan Schimanski
QA Contact: scheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-19 21:50 UTC by Eric Paris
Modified: 2020-01-30 11:39 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-30 11:39:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Eric Paris 2019-12-19 21:50:52 UTC
4.2.0-0.nightly-2019-10-11-230724

after running:
$ KUBECONFIG=~/.kube/build01 oc adm policy add-cluster-role-to-user cluster-reader eparis --as system:admin

I get:

 machineautoscalers.autoscaling.openshift.io is forbidden: User "eparis" cannot list resource "machineautoscalers" in API group "autoscaling.openshift.io" in the namespace "openshift-machine-api"


also

 operatorhubs.config.openshift.io is forbidden: User "eparis" cannot list resource "operatorhubs" in API group "config.openshift.io" at the cluster scope


What team should fix these?

Comment 1 Stephen Cuppett 2019-12-20 15:44:06 UTC
Setting target to the active development branch (4.4). Clones of this BZ will be created for fixes, if any, which are required to be backported to earlier release maintenance streams.


Note You need to log in before you can comment on or make changes to this bug.