---
apiVersion: v1
kind: Secret
metadata:
  name: ldap-user-manager-env
  namespace: networking
stringData:
  LDAP_URI: "ldap://openldap.networking.svc.cluster.local:389"
  LDAP_BASE_DN: "${LDAP_BASE_DN}"
  LDAP_ADMIN_BIND_DN: "cn=admin,${LDAP_BASE_DN}"
  LDAP_ADMIN_BIND_PWD: "${SECRET_DEFAULT_PASSWORD}"
  LDAP_ADMINS_GROUP: "Admins"
  LDAP_USER_OU: "People"
  LDAP_GROUP_OU: "Groups"
  LDAP_ACCOUNT_ATTRIBUTE: "uid"
  LDAP_GROUP_MEMBERSHIP_ATTRIBUTE: "uniqueMember"
  LDAP_REQUIRE_STARTTLS: "false"
  DEFAULT_USER_GROUP: "Users"
  EMAIL_DOMAIN: "${SECRET_DOMAIN}"
  USERNAME_FORMAT: "{first_name}"
  SMTP_HOSTNAME: "${SECRET_SMTP_SERVER}"
  SMTP_HOST_PORT: "587"
  SMTP_USERNAME: "${SECRET_SMTP_USERNAME}"
  SMTP_PASSWORD: "${SECRET_SMTP_PASSWORD}"
  SMTP_USE_TLS: "true"
  NO_HTTPS: "true"
  ACCOUNT_REQUESTS_EMAIL: "${SECRET_DEFAULT_EMAIL}"
  ACCOUNT_REQUESTS_ENABLED: "true"
