Last active
January 27, 2018 00:08
Star
You must be signed in to star a gist
OpenShift with minishift - secured
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By default, minishift set up OpenShift with AllowAllPasswordIdentityProvider | |
# You can secure OpenShift with other identity provider like this | |
minishift start --vm-driver=hyperv --cpus=4 --memory=4GB | |
minishift ssh | |
vi /var/lib/minishift/openshift.local.config/master/master-config.yaml | |
# Modify in oauthConfig | |
# - challenge: true | |
# login: true | |
# mappingMethod: claim | |
# name: htpasswd | |
# provider: | |
# apiVersion: v1 | |
# kind: HTPasswdPasswordIdentityProvider | |
# file: /var/lib/origin/openshift.local.config/htpasswd | |
vi /var/lib/minishift/openshift.local.config/htpasswd | |
# Add a credential | |
docker restart origin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment