Skip to content

Commit d1f59ca

Browse files
committed
Update python syntax in OAuth2 example
1 parent 431637d commit d1f59ca

File tree

1 file changed

+1
-1
lines changed
  • docs/examples/auth/oauth-external-auth

1 file changed

+1
-1
lines changed

docs/examples/auth/oauth-external-auth/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon
5555

5656
- OAUTH2_PROXY_CLIENT_ID with the github `<Client ID>`
5757
- 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)).decode("ascii"))'`
5959

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

0 commit comments

Comments
 (0)