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

Re: How to grant system:admin rights to admin?



Hi all,

Many thanks for the answers. Everything seems to work perfectly after I reinstalled OpenShift completely on my local machine and then stick to the --config= approach.

Cheers!

śr., 7 cze 2017 o 04:18 użytkownik Jon Stanley <jonstanley gmail com> napisał:

On Tue, Jun 6, 2017 at 7:57 PM, Aleksandar Lazic <aleks me2digital eu> wrote:
I solved this with the following sequence.

Easiest thing to do is to set the environment variable KUBECONFIG and point it to admin.kubeconfig, wherever that is stored (in an advanced install with Ansible, in /etc/origin/master)

$ export KUBECONFIG=/etc/origin/master/admin.kubeconfig
$ oc login -u system:admin
$ oc blah
_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users
--
Henryk Konsek
https://linkedin.com/in/hekonsek

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