Skip to content

Commit 43d8c59

Browse files
committed
suggest disabling the default github oauth2 provider on k8s
1 parent 4216e28 commit 43d8c59

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/install/kubernetes.md

Lines changed: 4 additions & 0 deletions
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

Lines changed: 4 additions & 0 deletions
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)