docs: add helm example for OIDC_GROUP_MAPPING var (#7007)

* docs: add helm example for OIDC_GROU_MAPPING var

* fix: fmt
This commit is contained in:
Eric Paulsen
2023-04-05 21:05:48 +00:00
committed by GitHub
parent e0f7cf5ec6
commit 0167d76a7c
+10
View File
@@ -247,6 +247,16 @@ CODER_OIDC_GROUP_MAPPING='{"myOIDCGroupID": "myCoderGroupName"}'
--oidc-group-mapping '{"myOIDCGroupID": "myCoderGroupName"}'
```
Below is an example mapping in the Coder Helm chart:
```yaml
coder:
env:
- name: CODER_OIDC_GROUP_MAPPING
value: >
{"myOIDCGroupID": "myCoderGroupName"}
```
From the example above, users that belong to the `myOIDCGroupID` group in your
OIDC provider will be added to the `myCoderGroupName` group in Coder.