Description of problem: --- - Although Red Hat configured clusterresourcequotas for the dedicated cluster, the customer (dedicated users) cannot see the quota by themselves. That's inconvenient and as an admin users want to check current quota and consumed resources. Version-Release number of selected component (if applicable): - OpenShift Dedicated Steps to Reproduce: --- 1. Run "oc get clusterresourcequota" Actual results: --- $oc describe clusterresourcequota persistent-volume Error from server: User "<USER_HAS_DEDICATED_CLUSTER_ADMIN_ROLE>" cannot get clusterresourcequotas at the cluster scope Expected results: --- $oc describe clusterresourcequota persistent-volume shows the quota.
I'm proposing we simply track this as a bug. Abhishek has already merged the patch. I'm moving this to MODIFIED. Abhishek, can you have this deployed somewhere QE can test and the move it ON_QA?
Online didn't have an RFE component so I picked what I thought was at least somewhat reasonable.
Verified in ded-stage-aws: clusterrole "dedicated-cluster-admin" has the ability to view clusterresourcequotas: $oc get clusterrole dedicated-cluster-admin -o json ...... { "apiGroups": [ "" ], "attributeRestrictions": null, "resources": [ "clusterresourcequotas", "events", "minions", "nodes", "persistentvolumes", "securitycontextconstraints" ], "verbs": [ "get", "list", "watch" ] }, ...... Version: OpenShift Master: v3.5.5.26 Kubernetes Master: v1.5.2+43a9be4