Skip to content

Commit 9c5d496

Browse files
authored
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.
1 parent a5842e5 commit 9c5d496

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)