Merge pull request #415 from aledbf/fix

Improve external authentication docs
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-03-09 12:16:44 -03:00 committed by GitHub
commit 858e3ff235
5 changed files with 5 additions and 5 deletions

View file

@ -43,14 +43,14 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon
2. Create a custom Github OAuth application https://github.com/settings/applications/new 2. Create a custom Github OAuth application https://github.com/settings/applications/new
![Register OAuth2 Application](images/regiter-oauth-app.png) ![Register OAuth2 Application](images/register-oauth-app.png)
- Homepage URL is the FQDN in the Ingress rule, like `https://foo.bar.com` - Homepage URL is the FQDN in the Ingress rule, like `https://foo.bar.com`
- Authorization callback URL is the same as the base FQDN plus `/oauth2`, like `https://foo.bar.com/oauth2` - Authorization callback URL is the same as the base FQDN plus `/oauth2`, like `https://foo.bar.com/oauth2`
![Register OAuth2 Application](images/regiter-oauth-app-2.png) ![Register OAuth2 Application](images/register-oauth-app-2.png)
3. Configure oauth2_proxy values in the file oauth2-proxy.yaml with the values: 3. Configure oauth2_proxy values in the file oauth2-proxy.yaml with the values:
@ -71,8 +71,8 @@ $ kubectl create -f oauth2-proxy.yaml,dashboard-ingress.yaml
Test the oauth integration accessing the configured URL, like `https://foo.bar.com` Test the oauth integration accessing the configured URL, like `https://foo.bar.com`
![Register OAuth2 Application](images/oauth-login.png)
![Register OAuth2 Application](images/github-auth.png) ![Register OAuth2 Application](images/github-auth.png)
![Register OAuth2 Application](images/dashboard.png) ![Github authentication](images/oauth-login.png)
![Kubernetes dashboard](images/dashboard.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View file

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View file

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 84 KiB