Hi Jordan,That makes sense. Didn't know about the system:admin user. However having just logged in with that user, I'm still having issues:[root openshift-test admin]# ./oadm policy add-cluster-role-to-user cluster-admin adminError from server: User "system" cannot get clusterpolicybindings at the cluster scopeAlso, as I am trying to follow instructions (on how to install fabric8 on OpenShift) given here, I'm also getting problems:[root openshift-test admin]# ./oadm router --create --credentials=/var/lib/openshift/openshift.local.config/master/openshift-router.kubeconfigerror: can't check for existing router "router": User "system" cannot get services in project "default"Cheers,CandideOn 07 Jan 2016, at 17:08, Jordan Liggitt <jliggitt redhat com> wrote: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
Error from server: User "admin" cannot get clusterpolicybindings at the cluster scope
What am I doing wrong?
users mailing list
users lists openshift redhat com