move ldap config to secret
This commit is contained in:
parent
642a10b289
commit
cd22f78e16
1 changed files with 6 additions and 10 deletions
|
@ -39,14 +39,6 @@ data:
|
||||||
ssl = yes
|
ssl = yes
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ldap.conf: |
|
|
||||||
hosts = ldap://auth.hxme.net
|
|
||||||
auth_bind = yes
|
|
||||||
base = dc=ldap,dc=goauthentik,dc=io
|
|
||||||
dn = cn=binduser,ou=service-accounts,dc=ldap,dc=goauthentik,dc=io
|
|
||||||
dnpass = FtaJpthRpKyhEEy69H5qxPymtSeSeuCT9SQCdXmWDeAe7cgTCnk6HXpSzTNS
|
|
||||||
user_attrs = =home=/data/%u
|
|
||||||
user_filter = (&(objectClass=person)(uid=%u))
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
@ -73,6 +65,10 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config/
|
mountPath: /config/
|
||||||
|
- name: ldap-config
|
||||||
|
mountPath: /config/ldap.conf
|
||||||
|
subPath: ldap.conf
|
||||||
|
readOnly: true
|
||||||
- name: certs
|
- name: certs
|
||||||
mountPath: /etc/ssl/hxme
|
mountPath: /etc/ssl/hxme
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
@ -81,8 +77,8 @@ spec:
|
||||||
configMap:
|
configMap:
|
||||||
name: dovecot-config
|
name: dovecot-config
|
||||||
- name: ldap
|
- name: ldap
|
||||||
configMap:
|
secret:
|
||||||
name: dovecot-ldap
|
secretName: dovecot-ldap
|
||||||
- name: tls
|
- name: tls
|
||||||
secret:
|
secret:
|
||||||
secretName: wildcard-hxme-net
|
secretName: wildcard-hxme-net
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue