Re: okd 3.11: recommended procedure to create admin account?

2019-04-01 Thread Harald Dunkel
Hi Ricardo, On 3/30/19 11:18 AM, Ricardo Martinelli de Oliveira wrote: Unfortunately, there is no way to set cluster-admin cluster role to a specific user through ansible playbooks. You will need to do so manually. Also, I'm wondering why you manually create a clusterrolebinding object instead

Re: okd 3.11: recommended procedure to create admin account?

2019-03-30 Thread Ricardo Martinelli de Oliveira
Unfortunately, there is no way to set cluster-admin cluster role to a specific user through ansible playbooks. You will need to do so manually. Also, I'm wondering why you manually create a clusterrolebinding object instead of using "oc adm policy add-cluster-role-to-user" command. The easiest and

Re: okd 3.11: recommended procedure to create admin account?

2019-03-28 Thread Harald Dunkel
On 3/28/19 4:20 PM, Fernando Lozano wrote: I guess that Harald wants something that is handled by the installation playbooks. Exactly. I highly appreciate your hint about resetting the config file, of course. Regards Harri ___ users mailing list

Re: okd 3.11: recommended procedure to create admin account?

2019-03-28 Thread Fernando Lozano
I guess that Harald wants something that is handled by the installation playbooks. On Thu, Mar 28, 2019 at 12:07 PM Samuel Martín Moro wrote: > > on the master instead, then it seems there is no way to assign > > the cluster-admin role anymore. > > Of course there is. > > cp -p /etc/origin/maste

Re: okd 3.11: recommended procedure to create admin account?

2019-03-28 Thread Samuel Martín Moro
> on the master instead, then it seems there is no way to assign > the cluster-admin role anymore. Of course there is. cp -p /etc/origin/master/admin.kubeconfig ~/.kube/config [fix perms if needed / assuming root@master, no need to do so] oc whoami would confirm you're now logged in as system:a

okd 3.11: recommended procedure to create admin account?

2019-03-28 Thread Harald Dunkel
Hi folks, I have added these lines to my inventory file to deploy okd 3.11: # login credentials for admin accout openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider'}] openshift_master_htpasswd_users={'ad