Open gnunn1 opened 7 years ago
Isn't this a configuration option available with the core openshift-installer?
Also, if we wanted to do it through our playbooks, should just use the htpasswd module.
The installer does have an option:
https://github.com/openshift/openshift-ansible/blob/master/inventory/byo/hosts.ose.example#L101-L106
Utilizing it might get a little tricky. I don't think we need to switch to doing this in the installer (depends on how this gets broken out modularly in general), but I don't object to using the Ansible module.
I'm using
--skip-tags=workshop
to create a vanilla installation without the bu-workshop stuff. One thing I noticed is that it doesn't provision an admin user in htpasswd, instead you have to ssh to the master and runsudo htpasswd /etc/origin/master/htpasswd admin
to create the user.It's not a big deal to do this manually, but it would be a nice user-friendly touch if it could provision the admin user based on a variable containing the password.