openldap Plugin

    • replicaCount: The default value is 3, for the convenience of local testing, the above example is set to 1
    • service.type: The default value is ClusterIP, if you have services outside the Kubernetes cluster that require ldap integration, the value preferably be set to NodePort, so that services outside the Kubernetes cluster can access the ldap service via ldap://ip:389 instead of
    • configPassword: Use your own custom password
    • ltb-passwd: Ingress of the Ltb-Passwd service by which you can modify your password. If you need this service, you can set ltb-passwd.enabled to true.
    • phpldapadmin.ingress: Ingress of Phpldapadmin service by which you can manage your ldap service. If you wish to expose the service to the Internet, you can change the to true and configure your own domain name

    Once the installation is complete, you can manage ldap service through phpldapadmin. For local testing, you can access the service through port forwarding. The commands are as follows.

    Now you can now access the phpldapadmin service on your browser via http://127.0.0.1:8080

    Note: If you’re familiar with OpenLDAP, then you don’t need to continue reading the tutorial below, you can just go ahead and integrate ldap for your service.

    The following is a sample file, if you have changed the above configuration, remember to replace dc=devstream,dc=org with your own.

    Verify the LDAP Service

    Log in to the container where the ldap service is located, and then use the ldapsearch command to query the user(uid=example,ou=people,dc=devstream,dc=org) created above

    If your command output is as above, your ldap service is fine. The above values_yaml is only to facilitate your local testing, if you want production available, you also have to configure , data persistence, etc., refer to OpenLDAP values.yaml