mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-24 01:38:43 +00:00
SAML/Azure integration (#2815)
This commit is contained in:
parent
50ac3fd6c5
commit
a5f22d3841
1 changed files with 38 additions and 0 deletions
|
|
@ -6,3 +6,41 @@
|
|||
<!-- markdownlint-disable MD033 -->
|
||||
<div style="text-align:center"><img src="../../../assets/argo.png" /></div>
|
||||
<!-- markdownlint-enable MD033 -->
|
||||
|
||||
<!-- markdownlint-disable MD046 -->
|
||||
```yaml
|
||||
ConfigMap -> argocd-cm
|
||||
|
||||
data:
|
||||
dex.config: |
|
||||
connectors:
|
||||
- type: microsoft
|
||||
id: microsoft
|
||||
name: Your Company GmbH
|
||||
config:
|
||||
clientID: $MICROSOFT_APPLICATION_ID
|
||||
clientSecret: $MICROSOFT_CLIENT_SECRET
|
||||
redirectURI: http://localhost:8080/api/dex/callback
|
||||
tenant: ffffffff-ffff-ffff-ffff-ffffffffffff
|
||||
groups:
|
||||
- DevOps
|
||||
```
|
||||
|
||||
https://github.com/dexidp/dex/blob/master/Documentation/connectors/microsoft.md#groups
|
||||
|
||||
```yaml
|
||||
ConfigMap -> argocd-rbac-cm
|
||||
|
||||
data:
|
||||
policy.csv: |
|
||||
p, role:org-admin, applications, *, */*, allow
|
||||
p, role:org-admin, clusters, get, *, allow
|
||||
p, role:org-admin, repositories, get, *, allow
|
||||
p, role:org-admin, repositories, create, *, allow
|
||||
p, role:org-admin, repositories, update, *, allow
|
||||
p, role:org-admin, repositories, delete, *, allow
|
||||
|
||||
g, DevOps, role:org-admin
|
||||
|
||||
policy.default: role:readonly
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue