[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cannot get policybindings Error



It looks like you are trying to grant a role to yourself, which is disallowed because it is an escalation.

First log in as a user that has cluster-admin permissions. Typically, that is done like `oc login -u system:admin`

On Thu, Jan 7, 2016 at 10:46 AM, Candide Kemmler <candide intrinsic world> wrote:
Hi,

I'm having issues trying to add a role to the admin user. When running the following command:

./oadm policy add-cluster-role-to-user cluster-admin admin

I'm getting

Error from server: User "admin" cannot get clusterpolicybindings at the cluster scope

What am I doing wrong?

Candide

_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]