Skip to content

Commit

Permalink
Merge pull request #5000 from headcr4sh/patch-1
Browse files Browse the repository at this point in the history
Update python syntax in OAuth2 example
  • Loading branch information
k8s-ci-robot authored Feb 2, 2020
2 parents 54c30b9 + d1f59ca commit f9182c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/auth/oauth-external-auth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon

- OAUTH2_PROXY_CLIENT_ID with the github `<Client ID>`
- OAUTH2_PROXY_CLIENT_SECRET with the github `<Client Secret>`
- OAUTH2_PROXY_COOKIE_SECRET with value of `python -c 'import os,base64; print base64.b64encode(os.urandom(16))'`
- OAUTH2_PROXY_COOKIE_SECRET with value of `python -c 'import os,base64; print(base64.b64encode(os.urandom(16)).decode("ascii"))'`

4. Customize the contents of the file dashboard-ingress.yaml:

Expand Down

0 comments on commit f9182c0

Please sign in to comment.