Skip to content

Instantly share code, notes, and snippets.

@Nurlan199206
Created January 24, 2020 05:09
Show Gist options
  • Save Nurlan199206/0a643e9e11737e194a71b1306e0c313c to your computer and use it in GitHub Desktop.
Save Nurlan199206/0a643e9e11737e194a71b1306e0c313c to your computer and use it in GitHub Desktop.
OpenShift create new user
1)oc create user nurlan
2)htpasswd /etc/origin/master/htpasswd nurlan
3)oc create identity HTPasswdPasswordIdentityProvider:nurlan
4) на всех мастерах вставить логин и пароль из /etc/origin/master/htpasswd
5)oc adm policy add-role-to-user admin nurlan -n mynamespace - дать роль admin пользователю nurlan в NS mynamespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment