openldap

by Symas

Helm chartv1.1.7App 2.6.8Apache-2.0Verified publisher

The OpenLDAP directory server, with support from Symas Corp.

About this chart

Supported OpenLDAP Helm Chart by Symas Corp

TL;DR

To install the chart with the release name my-release:

$ helm repo add helm-openldap https://symas.github.io/helm-openldap/
$ helm install my-release helm-openldap/openldap

What's here?

A Helm cart to deploy and manage your OpenLDAP instance on Kubernetes provided by Symas, ready for production use.

How to contact Symas for commercial support

This Helm chart packages the Symas OpenLDAP container. For general help on OpenLDAP please take a look at our knowledge base, or go to the OpenLDAP site and read the documentation, the quick start guide, and the detailed manual pages. What we publish is what we provide to you in this format to help you adopt and use OpenLDAP. As always, everything is open-source.

If you need help, please contact us at: +1.650.963.7601 or email sales or send mail to our support teams directly with questions. More on our support offerings can be found on our website.

Reach out to us, we're here to help.

Why use our OpenLDAP chart?

  • Symas has, for over a decade, built, maintained, and commercially supported the OpenLDAP codebase.
  • All our work on OpenLDAP has always been, and will always be open-source. We are a commercial support company, here if and when you need us.
  • We commit to promptly publish new versions of this chart for every release of the software going forward.
  • Our images contain the latest bug fixes and features released, not just in OpenLDAP but in supporting libraries.
  • We've based our chart on the existing jp-gouin chart that uses the Bitnami containers having recently changed from the abandoned Osixia OpenLDAP containers.
  • We'd like to thank Jean-Philippe Gouin for open sourcing his work allowing the community to benefit. Our shared philosophy makes us stronger.

Why not just contribute to Jean-Philippe's exiting chart?

We may eventually merge our work into his, for now we'd like to remain on a fork that we provide and support for our customers that is under our direct control.

Fundamentally, we're a company that supports OpenLDAP as our primary business model so it is important for us to own this Helm chart allowing for easy deployent of OpenLDAP within Kubernetes clusters.

  • Replication is setup by configuration. Extra schemas are loaded using LDAP_EXTRA_SCHEMAS: "cosine,inetorgperson,nis,syncprov,serverid,csyncprov,rep,bsyncprov,brep,acls. You can add your own schemas to load during setup via the customSchemaFiles option.

A default tree (Root Organization, users and group) is created during startup, this can be skipped using LDAP_SKIP_DEFAULT_TREE, however you need to use customLdifFiles or customLdifCm to create a root organization.

Prerequisites

  • Kubernetes 1.8+
  • Persistent Volume (PV) support on the underlying infrastructure

Chart Details:

This chart will:

Symas Packaged OpenLDAP

We, at Symas, contribute to and maintain the OpenLDAP software as open source software. We work within the community of contributors to this project, that's how open source works. We don't sell licenses to the software, the software is free for anyone to use. We do provide commercial support for OpenLDAP, and in that capacity we've run across bugs that others may not have encountered. We fix those issues and contribute them back to OpenLDAP through the community process. Sometimes we find bugs impacting OpenLDAP in supporting libraries, and in those cases we fix those issues and offer them to the package maintainers. When that process isn't fast enough, we apply our fixes to a fork of the package and include that within our package of OpenLDAP. When that fix is upstreamed and released, we return to using the community provided library. All that is to say that it is possible that the Symas supplied packages include fixes that are not available in other builds of OpenLDAP unless those builds included our forks of those dependencies.

In addition, Symas sometimes includes packages or configuration by default that we've found useful to our customers. For instances, this Helm chart includes lib-passwd which is a web-based self-service password management application developed by the Linux toolbox Project. It has some nice features useful when administering OpenLDAP. Ppm is a password complexity module for OpenLDAP, it also comes password management features, but the only overlap between Ppm and lib-passwd is that they both can enforce password complexity rules, albeit in different ways. So, with this release of OpenLDAP you get the best of both worlds.

Configuration

We use the Symas provided container image forked from, and compatible with, the Bitnami OpenLDAP container. Please consult to documentation of the image for more information.

The following table lists the configurable parameters of the symas/openldap with their default values.

Global section

Global parameters to configure the deployment of the application.

ParameterDescriptionDefault
global.imageRegistryGlobal image registry""
global.imagePullSecretsGlobal list of imagePullSecrets[]
global.ldapDomainDomain LDAP can be explicit dc=example,dc=org or domain based example.orgexample.org
global.existingSecretUse existing secret for credentials - the expected keys are LDAP_ADMIN_PASSWORD and LDAP_CONFIG_ADMIN_PASSWORD""
global.adminUserOpenLDAP database admin useradmin
global.adminPasswordAdministration password of OpenLDAPNot@SecurePassw0rd
global.configUserEnabledWhether to create a configuration admin usertrue
global.configUserOpenldap configuration admin useradmin
global.configPasswordConfiguration password of OpenLDAPNot@SecurePassw0rd
global.ldapPortLdap port1389
global.sslLdapPortLdaps port1636

Application parameters

Parameters related to the configuration of the application.

ParameterDescriptionDefault
replicaCountNumber of replicas3
usersUser list to create (comma separated list) , can't be use with customLdifFiles""
userPasswordsUser password to create (comma seprated list)""
groupGroup to create and add list of user above""
envEnvironment variables as a list of key value pairs available within the container.[see values.yaml]
initTLSSecret.tls_enabledSet to enable TLS/LDAPS with custom certificate - should also set tls.secretfalse
initTLSSecret.secretSecret containing TLS cert and key must contain the keys tls.key , tls.crt and ca.crt""
customSchemaFilesCustom OpenLDAP schema files used in addition to default schemas""
customLdifFilesCustom OpenLDAP configuration files used to override default settings""
customLdifCmExisting configmap with custom ldif. Can't be use with customLdifFiles""
customAclsCustom openldap ACLs. Overrides default ones.""
replication.enabledEnable the multi-master replicationtrue
replication.retryRetry period for replication in sec60
replication.timeoutTimeout for replication in sec1
replication.starttlsEnable starttls replicationcritical
replication.tls_reqcertTLS certificate validation for replicationnever
replication.intervalInterval for replication00:00:00:10
replication.clusterNameSet the clustername for replication"cluster.local"

PHPLdapAdmin Configuration

Parameters related to PHPLdapAdmin

ParameterDescriptionDefault
phpldapadmin.enabledEnable the deployment of PhpLdapAdmintrue
phpldapadmin.ingressIngress of Phpldapadmin{}
phpldapadmin.envEnvironment variables for PhpldapAdmin{PHPLDAPADMIN_LDAP_CLIENT_TLS_REQCERT: "never"}

For more advance configuration see README.md For all possible chart parameters see chart's README.md

Self-service Password Configuration

Parameters related to LDAP Tool Box Self Service Password.

| Parameter | Description | Default

Deploy openldap with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has openldap on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartopenldap is pinned at v1.1.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply