Skip to content

Commit

Permalink
Support overwriting URL in LDAP Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
DebakelOrakel committed Sep 16, 2024
1 parent bc3e3f2 commit a81fc0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion component/ldap.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local syncConfig(namespace, idp, sa) =
local syncCfg = {
kind: 'LDAPSyncConfig',
apiVersion: 'v1',
url: idp.ldap.url,
url: if std.objectHas(idp.ldap.sync, 'url') then idp.ldap.sync.url else idp.ldap.url,
bindDN: idp.ldap.bindDN,
bindPassword:
if std.isString(idp.ldap.bindPassword) then
Expand Down

0 comments on commit a81fc0a

Please sign in to comment.