openldap

by kubelauncher

Helm chartv0.2.0App 2.6.12Apache-2.0Verified publisher

OpenLDAP directory service

About this chart

openldap

OpenLDAP directory service

TL;DR

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-ldap kubelauncher/openldap \
  --set auth.adminPassword=secret

Or via OCI:

helm install my-ldap oci://ghcr.io/kubelauncher/charts/openldap \
  --set auth.adminPassword=secret

Introduction

This chart deploys OpenLDAP on Kubernetes using the kubelauncher/openldap Docker image. It provides a lightweight LDAP directory server.

helm install my-ldap kubelauncher/openldap \
  --set auth.adminPassword=secret \
  --set env.LDAP_ROOT="dc=myorg,dc=com"

The LDAP port is 1389 and the LDAPS port is 1636 (non-root ports). Persistence is enabled by default with 8Gi volumes.

Installing the Chart

helm repo add kubelauncher https://kubelauncher.github.io/charts
helm install my-ldap kubelauncher/openldap \
  --set auth.adminPassword=secret

Or via OCI:

helm install my-ldap oci://ghcr.io/kubelauncher/charts/openldap \
  --set auth.adminPassword=secret

Uninstalling the Chart

helm uninstall my-ldap

Values

KeyTypeDefaultDescription
affinityobject{}
auth.adminPasswordstring""
auth.existingSecretstring""
auth.existingSecretPasswordKeystring"ldap-admin-password"
clusterDomainstring"cluster.local"
commonAnnotationsobject{}
commonLabelsobject{}
containerPorts.ldapint1389
containerPorts.ldapsint1636
containerSecurityContext.allowPrivilegeEscalationboolfalse
containerSecurityContext.capabilities.drop[0]string"ALL"
containerSecurityContext.enabledbooltrue
containerSecurityContext.readOnlyRootFilesystemboolfalse
containerSecurityContext.runAsGroupint1001
containerSecurityContext.runAsNonRootbooltrue
containerSecurityContext.runAsUserint1001
containerSecurityContext.seccompProfile.typestring"RuntimeDefault"
enableServiceLinksboolfalse
extraDeploylist[]
extraEnvVarslist[]
extraVolumeMountslist[]
extraVolumeslist[]
fullnameOverridestring""
global.defaultStorageClassstring""
global.imagePullSecretslist[]
global.imageRegistrystring""
global.storageClassstring""
image.digeststring"sha256:8978aa002bc027c835a32535c5b722013be99948c33e02eecb28d866e99fa32e"
image.pullPolicystring"Always"
image.pullSecretslist[]
image.registrystring"ghcr.io"
image.repositorystring"kubelauncher/openldap"
image.tagstring"2.6.12"
initContainerslist[]
ldapAdminUsernamestring"admin"
ldapRootstring"dc=example,dc=org"
livenessProbe.enabledbooltrue
livenessProbe.failureThresholdint6
livenessProbe.initialDelaySecondsint20
livenessProbe.periodSecondsint10
livenessProbe.successThresholdint1
livenessProbe.timeoutSecondsint5
nameOverridestring""
namespaceOverridestring""
networkPolicy.additionalRuleslist[]
networkPolicy.allowExternalbooltrue
networkPolicy.enabledboolfalse
nodeSelectorobject{}
persistence.accessModes[0]string"ReadWriteOnce"
persistence.annotationsobject{}
persistence.enabledbooltrue
persistence.existingClaimstring""
persistence.labelsobject{}
persistence.mountPathstring"/data/openldap"
persistence.sizestring"8Gi"
persistence.storageClassstring""
podAnnotationsobject{}
podLabelsobject{}
podSecurityContext.enabledbooltrue
podSecurityContext.fsGroupint1001
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint6
readinessProbe.initialDelaySecondsint5
readinessProbe.periodSecondsint10
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint5
replicaCountint1
resourcesobject{}
resourcesPresetstring"micro"
service.annotationsobject{}
service.clusterIPstring""
service.headless.annotationsobject{}
service.labelsobject{}
service.nodePorts.ldapstring""
service.nodePorts.ldapsstring""
service.ports.ldapint389
service.ports.ldapsint636
service.typestring"ClusterIP"
serviceAccount.annotationsobject{}
serviceAccount.automountServiceAccountTokenboolfalse
serviceAccount.createbooltrue
serviceAccount.namestring""
sidecarslist[]
startupProbe.enabledbooltrue
startupProbe.failureThresholdint30
startupProbe.initialDelaySecondsint10
startupProbe.periodSecondsint10
startupProbe.successThresholdint1
startupProbe.timeoutSecondsint5
tolerationslist[]

Maintainers

NameEmailUrl
kubelauncher[email protected]https://www.kubelauncher.com

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 v0.2.0 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