openldap

by Alphani

Helm chartv2.4.58-4App 1.0.1-1Verified publisher

A Helm chart for OpenLDAP

About this chart

openldap

A Helm chart for OpenLDAP

Homepage: https://github.com/roertel/helm-charts/charts/openldap

Maintainers

NameEmailUrl
roertel[email protected]

Requirements

RepositoryNameVersion
https://roertel.github.io/helm-charts/phpldapadmin0.1.4-0

Values

KeyTypeDefaultDescription
replicaCountint1Number of replicas. Only 1 is currently supported.
image.repositorystring"roertel/openldap"Image to use for deploying.
image.pullPolicystring"IfNotPresent"
image.tagstringnilOverride the image tag whose default is the chart appVersion.
imagePullSecretslist[]
nameOverridestring""
fullnameOverridestring""
podAnnotationsobject{}
podSecurityContextobject{}
securityContext.capabilities.drop[0]string"ALL"
securityContext.readOnlyRootFilesystembooltrue
securityContext.runAsNonRootbooltrue
securityContext.runAsUserint100000
securityContext.runAsGroupint100000
serviceAccount.createboolfalseSpecifies whether a service account should be created
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.namestring""If not set and create is true, a name is generated using the fullname template
service.typestring"ClusterIP"Service type. Change this to expose outside of K8s
service.portint389Port to listen on
resourcesobject{}
autoscaling.enabledboolfalseNot supported at this time.
autoscaling.minReplicasint1
autoscaling.maxReplicasint100
autoscaling.targetCPUUtilizationPercentageint80
autoscaling.targetMemoryUtilizationPercentageint80
nodeSelectorobject{}
tolerationslist[]
affinityobject{}
tls.enabledboolfalseEnable TLS (LDAPS).
tls.typestring"certificate"TLS source: certificate or secret
tls.secretstring"secret-name"Mandatory and created outside of Helm if type is secret. Must have key, cert & chain values.
tls.certificateobject{"commonName":"example.com","issuerRef":{"name":"default"},"optional":{}}Mandatory if type is certificate.
tls.certificate.issuerRef.namestring"default"This is most likely not correct for your setup.
tls.certificate.commonNamestring"example.com"Set to the FQDN of your LDAP server
persistence.enabledboolfalseEnable the database to persist across restarts.
persistence.sizestring"1Gi"Database size.
persistence.storageClassstring"local-path"Storage Class for the persistent volume
ldapDomainstring"example.com"LDAP Domain in FQDN format. For example, example.com will convert to dc=example,dc=com.
ldapOrganizationstring"Example Organization"
slapd.secretsobject{}
slapd.listeners.ldap.enabledbooltrueEnable the LDAP protocol
slapd.listeners.ldap.schemestring"ldap"Only ldap & ldaps is supported.
slapd.listeners.ldap.containerPortint1389Set to >1024 to allow container to run as non-root user for improved security.
slapd.listeners.ldap.portint389External port.
slapd.listeners.ldaps.enabledboolfalseEnable the LDAPS protocol. LDAPS requires TLS into to be set, above.
slapd.listeners.ldaps.schemestring"ldaps"
slapd.listeners.ldaps.containerPortint1636Set to >1024 to allow container to run as non-root user for improved security.
slapd.listeners.ldaps.portint636
slapd.listeners.extraEnvobject{}Extra environment variables to set.
phpldapadmin.enabledbooltrueEnable PHPLDAPAdmin. See sub-chart for settings.

Autogenerated from chart metadata using helm-docs v1.11.0

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 v2.4.58-4 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