Added option to load lldap password from file (#12)
All checks were successful
Build and deploy / Build container and manifests (push) Successful in 6m15s
kustomization/lldap-controller/b5ae0585 reconciliation succeeded

This commit is contained in:
2025-04-22 10:49:39 +02:00
parent f714773ba8
commit 8a07d661ce
2 changed files with 26 additions and 7 deletions

View File

@@ -31,6 +31,10 @@ spec:
requests:
cpu: 50m
memory: 100Mi
volumeMounts:
- name: credentials
readOnly: true
mountPath: "/secrets/credentials"
env:
- name: RUST_LOG
value: info,lldap_controller=debug
@@ -38,10 +42,11 @@ spec:
value: "http://lldap:17170"
- name: LLDAP_USERNAME
value: admin
- name: LLDAP_PASSWORD
valueFrom:
secretKeyRef:
name: lldap-credentials
key: lldap-ldap-user-pass
- name: LLDAP_PASSWORD_FILE
value: /secrets/credentials/lldap-ldap-user-pass
- name: LLDAP_BIND_DN
value: uid={username},ou=people,dc=huizinga,dc=dev
volumes:
- name: credentials
secret:
secretName: lldap-credentials