Last active
January 27, 2018 00:08
-
-
Save itscaro/33990b04bd74f2195c16d57c3c2e7009 to your computer and use it in GitHub Desktop.
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