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
This commit is contained in:
1 parent
d2f22b063a
commit
a2d64c08c1
1 file changed
+7
-5
+7
-5
@@ -59,15 +59,17 @@ If deploying Coder via Helm, you can set the above environment variables in the
|
||||
coder:
|
||||
env:
|
||||
- name: CODER_OAUTH2_GITHUB_ALLOW_SIGNUPS
|
||||
value: true
|
||||
- name: CODER_OAUTH2_GITHUB_ALLOWED_ORGS
|
||||
value: "your-org"
|
||||
value: "true"
|
||||
- name: CODER_OAUTH2_GITHUB_CLIENT_ID
|
||||
value: "533...des"
|
||||
- name: CODER_OAUTH2_GITHUB_CLIENT_SECRET
|
||||
value: "G0CSP...7qSM"
|
||||
- name: CODER_OAUTH2_GITHUB_ALLOW_EVERYONE
|
||||
value: true
|
||||
# If setting allowed orgs, comment out CODER_OAUTH2_GITHUB_ALLOW_EVERYONE and its value
|
||||
- name: CODER_OAUTH2_GITHUB_ALLOWED_ORGS
|
||||
value: "your-org"
|
||||
# If allowing everyone, comment out CODER_OAUTH2_GITHUB_ALLOWED_ORGS and it's value
|
||||
#- name: CODER_OAUTH2_GITHUB_ALLOW_EVERYONE
|
||||
# value: "true"
|
||||
```
|
||||
|
||||
To upgrade Coder, run:
|
||||
|
||||
Reference in new issue
Block a user