Get ldap bind_dn from credentials secret
This commit is contained in:
parent
2a339c6ce5
commit
9068fc25ae
|
@ -20,7 +20,7 @@ ssl_skip_verify = false
|
|||
# client_key = "/path/to/client.key"
|
||||
|
||||
# Search user bind dn
|
||||
bind_dn = "uid=${LDAP_USERNAME},ou=people,dc=huizinga,dc=dev"
|
||||
bind_dn = "${BIND_DN}"
|
||||
# Search user bind password
|
||||
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
|
||||
bind_password = "${LDAP_PASSWORD}"
|
||||
|
|
|
@ -27,10 +27,10 @@ spec:
|
|||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
|
||||
envValueFrom:
|
||||
LDAP_USERNAME:
|
||||
BIND_DN:
|
||||
secretKeyRef:
|
||||
name: grafana-lldap-credentials
|
||||
key: username
|
||||
key: bind_dn
|
||||
LDAP_PASSWORD:
|
||||
secretKeyRef:
|
||||
name: grafana-lldap-credentials
|
||||
|
|
Loading…
Reference in New Issue
Block a user