-
Notifications
You must be signed in to change notification settings - Fork 45
/
Copy pathdex.yaml
48 lines (48 loc) · 1.28 KB
/
dex.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
dex:
enabled: true
project: infra-dex
values:
ingress:
enabled: true
hosts:
- dex.example.com
annotations:
kubernetes.io/ingress.class: nginx
grpc: false
config:
connectors:
- type: ldap
id: ldap
name: LDAP
config:
bindDN: ${LDAP_BINDDN}
bindPW: ${LDAP_BINDPW}
host: ${LDAP_HOST}
groupSearch:
baseDN: ${LDAP_BASEDN}
filter: (objectClass=group)
groupAttr: member
scope: sub
nameAttr: name
userAttr: DN
insecureNoSSL: true
insecureSkipVerify: true
startTLS: false
userSearch:
baseDN: ${LDAP_BASEDN}
emailAttr: mail
filter: (objectClass=person)
idAttr: sAMAccountName
nameAttr: name
username: sAMAccountName
usernamePrompt: Username
issuer: 'https://dex.example.com'
staticClients:
- id: "oidc-auth-client"
redirectURIs:
- 'https://login.example.com/callback'
name: 'oidc-auth-client'
secret: 'Secret'
enablePasswordDB: false
oauth2:
alwaysShowLoginScreen: false