[Kubernetes (K8S)] Helm install openldap and phpldapadmin to manage LDAP objects within Kubernetes (K8S)
openldap and phpldapadmin
OpenLDAP Software is an open source implementation of the Lightweight Directory Access Protocol. The suite includes:
-
slapd - stand-alone LDAP daemon (server)
-
libraries implementing the LDAP protocol, and
-
utilities, tools, and sample clients.
phpLDAPadmin (also known as PLA) is a web-based LDAP client. It provides easy, anywhere-accessible, multi-language administration for your LDAP server.
Its hierarchical tree-viewer and advanced search functionality make it intuitive to browse and administer your LDAP directory. Since it is a web application, this LDAP browser works on many platforms, making your LDAP server easily manageable from any location.
phpLDAPadmin is the perfect LDAP browser for the LDAP professional and novice alike. Its user base consists mostly of LDAP administration professionals.
This article is about how to use Helm to deploy openldap and phpldapadmin on Kubernetes (K8S).
Prerequisites
-
Kubernetes (K8S)
Kubernetes (K8s) is an open-source system for automating deployment, scaling, and management of containerized applications.For more information about installing and using Kubernetes (K8s), see the Kubernetes (K8s) Docs.
-
Helm
Helm is the best way to find, share, and use software built for Kubernetes.For more information about installing and using Helm, see the Helm Docs.
Install openldap
Helm install openldap into openldap or your other namespace.
1 | crate namespace: |
See Helm release about openldap
1 | helm list --namespace openldap |
See pods about openldap.
1 | kubectl get pods -n openldap |
Custom Values.yaml
Remember to replace content within {{ }}
with your prefer values.
1 | # charts/values.yaml at master · helm/charts |
Install phpldapadmin
Install by Helm
Helm install phpldapadmin into openldap namespace.
1 | Add the Helm repository: |
See Helm release about phpldapadmin.
1 | helm list --namespace openldap |
See pods about phpldapadmin.
1 | kubectl get pods -n openldap |
Custom Values.yaml
Remember to replace content within {{ }}
with your prefer values.
1 |
|
Access
Then, you can visit jenkins server with https://{{ .Values.ingress.host }}
.
References
[2] osixia/docker-openldap: A docker image to run OpenLDAP 🐳 - https://github.com/osixia/docker-openldap
[3] phpldapadmin 0.1.4 · helm/cetic - https://artifacthub.io/packages/helm/cetic/phpldapadmin
[4] OpenLDAP, Main Page - https://www.openldap.org/
[5] Main Page - phpLDAPadmin - http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page