Added option to load lldap password from file
Some checks are pending
Build and deploy / Build container and manifests (push) Waiting to run

This commit is contained in:
2025-04-22 10:49:39 +02:00
parent f714773ba8
commit a0d41c6f05
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/password
- name: LLDAP_BIND_DN
value: uid={username},ou=people,dc=huizinga,dc=dev
volumes:
- name: credentials
secret:
secretName: siranga-lldap-credentials