File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
docs/examples/auth/oauth-external-auth Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ metadata:
31
31
32
32
### Example: OAuth2 Proxy + Kubernetes-Dashboard
33
33
34
- This example will show you how to deploy [ ` oauth2_proxy ` ] ( https://github.com/bitly /oauth2_proxy )
34
+ This example will show you how to deploy [ ` oauth2_proxy ` ] ( https://github.com/pusher /oauth2_proxy )
35
35
into a Kubernetes cluster and use it to protect the Kubernetes Dashboard using github as oAuth2 provider
36
36
37
37
#### Prepare
@@ -55,7 +55,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon
55
55
56
56
- OAUTH2_PROXY_CLIENT_ID with the github ` <Client ID> `
57
57
- OAUTH2_PROXY_CLIENT_SECRET with the github ` <Client Secret> `
58
- - OAUTH2_PROXY_COOKIE_SECRET with value of ` python -c 'import os,base64; print base64.b64encode(os.urandom(16))' `
58
+ - OAUTH2_PROXY_COOKIE_SECRET with value of ` python -c 'import os,base64; print base64.b64encode(os.urandom(16))' `
59
59
60
60
4 . Customize the contents of the file dashboard-ingress.yaml:
61
61
Original file line number Diff line number Diff line change 31
31
# docker run -ti --rm python:3-alpine python -c 'import secrets,base64; print(base64.b64encode(base64.b64encode(secrets.token_bytes(16))));'
32
32
- name : OAUTH2_PROXY_COOKIE_SECRET
33
33
value : SECRET
34
- image : docker .io/colemickens /oauth2_proxy:latest
34
+ image : quay .io/pusher /oauth2_proxy:latest
35
35
imagePullPolicy : Always
36
36
name : oauth2-proxy
37
37
ports :
You can’t perform that action at this time.
0 commit comments