Skip to content

Commit a2d64c0

Browse files
authored
docs: update helm values.yaml code snippet, put quote around boolean value (#9026)
* updated helm values.yaml code snippet, put quote around boolean values and added comments showing that CODER_OAUTH2_GITHUB_ALLOW_EVERYONE and CODER_OAUTH2_GITHUB_ALLOW_EVERYONE are mutually exclusive * Update auth.md spotted and fixed minor typo
1 parent d2f22b0 commit a2d64c0

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/admin/auth.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,17 @@ If deploying Coder via Helm, you can set the above environment variables in the
5959
coder:
6060
env:
6161
- name: CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS
62-
value: true
63-
- name: CODER_OAUTH2_GITHUB_ALLOWED_ORGS
64-
value: "your-org"
62+
value: "true"
6563
- name: CODER_OAUTH2_GITHUB_CLIENT_ID
6664
value: "533...des"
6765
- name: CODER_OAUTH2_GITHUB_CLIENT_SECRET
6866
value: "G0CSP...7qSM"
69-
- name: CODER_OAUTH2_GITHUB_ALLOW_EVERYONE
70-
value: true
67+
# If setting allowed orgs, comment out CODER_OAUTH2_GITHUB_ALLOW_EVERYONE and its value
68+
- name: CODER_OAUTH2_GITHUB_ALLOWED_ORGS
69+
value: "your-org"
70+
# If allowing everyone, comment out CODER_OAUTH2_GITHUB_ALLOWED_ORGS and it's value
71+
#- name: CODER_OAUTH2_GITHUB_ALLOW_EVERYONE
72+
# value: "true"
7173
```
7274

7375
To upgrade Coder, run:

0 commit comments

Comments
 (0)