lldap

by djjudas21

Helm chartv0.6.4App v0.6.3Verified publisher

Light LDAP implementation

About this chart

lldap

Light LDAP implementation

Homepage: https://github.com/djjudas21/charts/tree/master/charts/lldap

Maintainers

NameEmailUrl
djjudas21[email protected]

Source Code

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamimariadb~18
https://charts.bitnami.com/bitnamipostgresql~15

Values

KeyTypeDefaultDescription
affinityobject{}
bootstrapobjectsee belowBootstrap (i.e. create) users and groups automatically. It is safe to run the bootstrap multiple times, however the one-shot Kubernetes job will be created on the first deployment, and the job will not be executed on subsequent deployments unless the job is deleted.
bootstrap.cleanupboolfalseRemove redundant users and groups which are not in the config below
deploymentAnnotationsobject{}
deploymentLabelsobject{}
externalMariadbobject{"auth":{"database":"lldap","host":"","password":"","port":3306,"username":""},"enabled":false}Enable and configure external mariadb database
externalMariadb.authobject{"database":"lldap","host":"","password":"","port":3306,"username":""}Name of the secret key containing the database URI uriKey:
externalPostgresqlobject{"auth":{"database":"lldap","host":"","password":"","port":5432,"username":""},"enabled":false}- Enable and configure external postgresql database
externalPostgresql.authobject{"database":"lldap","host":"","password":"","port":5432,"username":""}Name of the secret key containing the database URI uriKey:
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"Image pull policy
image.repositorystring"lldap/lldap"Image repository
image.tagstringchart.appVersionImage tag
image.variantstring"-debian-rootless"Image variant. Leave blank for default image.
imagePullSecretslist[]
ingressobjectSee values.yamlEnable and configure ingress settings for the chart under this key.
livenessProbe.httpGet.pathstring"/"
livenessProbe.httpGet.portstring"http"
lldap.baseDNstring"dc=example,dc=com"Base DN for LDAP. This is usually your domain name, and is used as a namespace for your users. The choice is arbitrary, but will be needed to configure the LDAP integration with other services. The sample value is for "example.com", but you can extend it with as many "dc" as you want, and you don't actually need to own the domain name.
lldap.extraVolumeMountslist[]
lldap.extraVolumeslist[]- define extra volumes and mounts for the ldap
lldap.forceLDAPUserPassResetboolfalseReset the LDAP admin password to ldapUserPass[Key] every time the server starts.
lldap.gidint1000
lldap.httpHoststring"0.0.0.0"HTTP API host. To enable IPv6 listening, change to ::
lldap.jwtSecretstring"REPLACE_WITH_RANDOM"Random secret for JWT signature. This secret should be random, and should be shared with application servers that need to consume the JWTs. Changing this secret will invalidate all user sessions and require them to re-login. You can generate it with (on linux): LC_ALL=C tr -dc 'A-Za-z0-9!#%&'''()*+,-./:;<=>?@[]^_{
lldap.jwtSecretKeystring"jwtSecret"Name of the JWT signature key in the .Values.lldap.secretName Kubernetes secret.
lldap.keySeedstring"REPLACE_WITH_RANDOM"Seed to generate the server private key. This can be any random string, the recommendation is that it's at least 12 characters long.
lldap.keySeedKeystring"keySeed"Name of the key holding the private key seed in the .Values.lldap.secretName Kubernetes secret.
lldap.ldapHoststring"0.0.0.0"LDAP host. To enable IPv6 listening, change to ::
lldap.ldapUserDNstring"admin"Admin username. For the LDAP interface, a value of "admin" here will create the LDAP user "cn=admin,ou=people,dc=example,dc=com" (with the base DN above). For the administration interface, this is the username.
lldap.ldapUserPassstring"REPLACE_WITH_RANDOM"Admin password. Password for the admin account, both for the LDAP bind and for the administration interface. It is only used when initially creating the admin user. It should be minimum 8 characters long. Note: you can create another admin user for user administration, this is just the default one.
lldap.ldapUserPassKeystring"ldapUserPass"Name of the LDAP admin password key in the .Values.lldap.secretName Kubernetes secret.
lldap.ldapsobjectsee belowOptions to configure LDAPS
lldap.ldaps.certFilestring"/data/cert.pem"Certificate file.
lldap.ldaps.enabledstring"false"Whether to enable LDAPS.
lldap.ldaps.keyFilestring"/data/key.pem"Certificate key file.
lldap.secretNamestring""Name of the Kubernetes secret containing credentials. If this isn't specified, a secret will be generated with the credentials provided in the values file. If you want to provide an external secret, for instance when deploying with GitOps, specify its name here.
lldap.smtpobjectsee belowOptions to configure SMTP parameters, to send password reset emails.
lldap.smtp.enablePasswordResetboolfalseWhether to enabled password reset via email, from LLDAP.
lldap.smtp.fromstring"LLDAP Admin <[email protected]>"The header field: how the sender appears in the email. The first is a free-form name, followed by an email between <>. Optional.
lldap.smtp.passwordstring"password"The SMTP password.
lldap.smtp.passwordKeystring"smtpPassword"Name of the SMTP password key in the .Values.lldap.secretName Kubernetes secret. Overrides the .Values.lldap.smtp.password if a custom secret is defined.
lldap.smtp.portint587The SMTP port.
lldap.smtp.replyTostring"Do not reply <noreply@localhost>"Same for reply-to, optional.
lldap.smtp.serverstring"smtp.gmail.com"The SMTP server.
lldap.smtp.smtpEncryptionstring"TLS"How the connection is encrypted, either "NONE" (no encryption), "TLS" or "STARTTLS".
lldap.smtp.userstring"[email protected]"The SMTP user, usually your email address.
lldap.tzstring"Etc/UTC"
lldap.uidint1000
lldap.verboseboolfalseTune the logging to be more verbose
mariadbobjecthttps://github.com/bitnami/charts/blob/master/bitnami/mariadb/values.yamlEnable and configure mariadb database subchart under this key. For more options see mariadb chart documentation
nameOverridestring""
nodeSelectorobject{}
persistenceobjectsee belowPersistence is only required if you are using the SQLite database (default). You can disable persistence if you select MariaDB or PostgreSQL.
podAnnotationsobject{}
podLabelsobject{}
podSecurityContextobject{}
postgresqlobjecthttps://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yamlEnable and configure postgresql database subchart under this key. For more options see postgresql chart documentation
readinessProbe.httpGet.pathstring"/"
readinessProbe.httpGet.portstring"http"
replicaCountint1Number of lldap replicas. Do not increase this above 1 if you are using the SQLite backend.
resourcesobject{}
securityContextobject{}
serviceobjectSee values.yamlConfigures service settings for the chart.
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.automountboolfalse
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringa name is generated using the fullname templateThe name of the service account to use.
tolerationslist[]

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy lldap with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lldap 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 chartlldap is pinned at v0.6.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