Merge pull request #5073 from BenoitPerrot/oauth-external-auth-readme-links-to-yaml
oauth-external-auth: README.md: Link to oauth2-proxy, dashboard-ingress.yaml
This commit is contained in:
commit
67d201a636
1 changed files with 2 additions and 2 deletions
|
@ -51,13 +51,13 @@ kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addon
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
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`](https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/auth/oauth-external-auth/oauth2-proxy.yaml) with the values:
|
||||||
|
|
||||||
- OAUTH2_PROXY_CLIENT_ID with the github `<Client ID>`
|
- OAUTH2_PROXY_CLIENT_ID with the github `<Client ID>`
|
||||||
- OAUTH2_PROXY_CLIENT_SECRET with the github `<Client Secret>`
|
- 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)).decode("ascii"))'`
|
- 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:
|
4. Customize the contents of the file [`dashboard-ingress.yaml`](https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/docs/examples/auth/oauth-external-auth/dashboard-ingress.yaml):
|
||||||
|
|
||||||
Replace `__INGRESS_HOST__` with a valid FQDN and `__INGRESS_SECRET__` with a Secret with a valid SSL certificate.
|
Replace `__INGRESS_HOST__` with a valid FQDN and `__INGRESS_SECRET__` with a Secret with a valid SSL certificate.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue