Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99a5d72

Browse files
docs: suggest disabling the default GitHub OAuth2 provider on k8s (cherry-pick #16758) (#16783)
Cherry-picked docs: suggest disabling the default GitHub OAuth2 provider on k8s (#16758) For production deployments we recommend disabling the default GitHub OAuth2 app managed by Coder. This PR mentions it in k8s installation docs and the helm README so users can stumble upon it more easily. Co-authored-by: Hugo Dutka <[email protected]>
1 parent fc0db40 commit 99a5d72

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/install/kubernetes.md

+4
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ coder:
101101
# postgres://coder:password@postgres:5432/coder?sslmode=disable
102102
name: coder-db-url
103103
key: url
104+
# For production deployments, we recommend configuring your own GitHub
105+
# OAuth2 provider and disabling the default one.
106+
- name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE
107+
value: "false"
104108

105109
# (Optional) For production deployments the access URL should be set.
106110
# If you're just trying Coder, access the dashboard via the service IP.

helm/coder/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ coder:
4747
# This env enables the Prometheus metrics endpoint.
4848
- name: CODER_PROMETHEUS_ADDRESS
4949
value: "0.0.0.0:2112"
50+
# For production deployments, we recommend configuring your own GitHub
51+
# OAuth2 provider and disabling the default one.
52+
- name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE
53+
value: "false"
5054
tls:
5155
secretNames:
5256
- my-tls-secret-name

0 commit comments

Comments
 (0)