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 <[email protected]>
napisał:

>
> On Tue, Jun 6, 2017 at 7:57 PM, Aleksandar Lazic <[email protected]>
> 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
> [email protected]
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>
-- 
Henryk Konsek
https://linkedin.com/in/hekonsek
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to