Add multiple LDAP sources (#222)

Add multiple add sources.

Instead of a single entry for ldap configuration we now would have a dictionary for ldap config.

This would be a breaking change for those working with the ldap config.

fixes: #190

Co-authored-by: Lucas Hahn <[email protected]>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/222
Reviewed-by: Andrew Thornton <[email protected]>
Reviewed-by: pat-s <[email protected]>
Reviewed-by: justusbunsi <[email protected]>
Co-authored-by: luhahn <[email protected]>
Co-committed-by: luhahn <[email protected]>
This commit is contained in:
luhahnandLucas Hahn committed 2021-10-08 20:16:24 +08:00
1 parent b344673d11
commit 3273b245e7
5 files changed
+65 -53

No files matched your search

+14 -15
View File
@@ -154,21 +154,20 @@ gitea:
# additionalLabels:
# prometheus-release: prom1
ldap:
enabled: false
#existingSecret: gitea-ldap-secret
#name:
#securityProtocol:
#host:
#port:
#userSearchBase:
#userFilter:
#adminFilter:
#emailAttribute:
#bindDn:
#bindPassword:
#usernameAttribute:
#sshPublicKeyAttribute:
ldap: []
# - name: "LDAP 1"
# existingSecret:
# securityProtocol:
# host:
# port:
# userSearchBase:
# userFilter:
# adminFilter:
# emailAttribute:
# bindDn:
# bindPassword:
# usernameAttribute:
# publicSSHKeyAttribute:
oauth:
enabled: false