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
| Name | Url | |
|---|---|---|
| roertel | [email protected] |
Requirements
| Repository | Name | Version |
|---|---|---|
| https://roertel.github.io/helm-charts/ | phpldapadmin | 0.1.4-0 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| replicaCount | int | 1 | Number of replicas. Only 1 is currently supported. |
| image.repository | string | "roertel/openldap" | Image to use for deploying. |
| image.pullPolicy | string | "IfNotPresent" | |
| image.tag | string | nil | Override the image tag whose default is the chart appVersion. |
| imagePullSecrets | list | [] | |
| nameOverride | string | "" | |
| fullnameOverride | string | "" | |
| podAnnotations | object | {} | |
| podSecurityContext | object | {} | |
| securityContext.capabilities.drop[0] | string | "ALL" | |
| securityContext.readOnlyRootFilesystem | bool | true | |
| securityContext.runAsNonRoot | bool | true | |
| securityContext.runAsUser | int | 100000 | |
| securityContext.runAsGroup | int | 100000 | |
| serviceAccount.create | bool | false | Specifies whether a service account should be created |
| serviceAccount.annotations | object | {} | Annotations to add to the service account |
| serviceAccount.name | string | "" | If not set and create is true, a name is generated using the fullname template |
| service.type | string | "ClusterIP" | Service type. Change this to expose outside of K8s |
| service.port | int | 389 | Port to listen on |
| resources | object | {} | |
| autoscaling.enabled | bool | false | Not supported at this time. |
| autoscaling.minReplicas | int | 1 | |
| autoscaling.maxReplicas | int | 100 | |
| autoscaling.targetCPUUtilizationPercentage | int | 80 | |
| autoscaling.targetMemoryUtilizationPercentage | int | 80 | |
| nodeSelector | object | {} | |
| tolerations | list | [] | |
| affinity | object | {} | |
| tls.enabled | bool | false | Enable TLS (LDAPS). |
| tls.type | string | "certificate" | TLS source: certificate or secret |
| tls.secret | string | "secret-name" | Mandatory and created outside of Helm if type is secret. Must have key, cert & chain values. |
| tls.certificate | object | {"commonName":"example.com","issuerRef":{"name":"default"},"optional":{}} | Mandatory if type is certificate. |
| tls.certificate.issuerRef.name | string | "default" | This is most likely not correct for your setup. |
| tls.certificate.commonName | string | "example.com" | Set to the FQDN of your LDAP server |
| persistence.enabled | bool | false | Enable the database to persist across restarts. |
| persistence.size | string | "1Gi" | Database size. |
| persistence.storageClass | string | "local-path" | Storage Class for the persistent volume |
| ldapDomain | string | "example.com" | LDAP Domain in FQDN format. For example, example.com will convert to dc=example,dc=com. |
| ldapOrganization | string | "Example Organization" | |
| slapd.secrets | object | {} | |
| slapd.listeners.ldap.enabled | bool | true | Enable the LDAP protocol |
| slapd.listeners.ldap.scheme | string | "ldap" | Only ldap & ldaps is supported. |
| slapd.listeners.ldap.containerPort | int | 1389 | Set to >1024 to allow container to run as non-root user for improved security. |
| slapd.listeners.ldap.port | int | 389 | External port. |
| slapd.listeners.ldaps.enabled | bool | false | Enable the LDAPS protocol. LDAPS requires TLS into to be set, above. |
| slapd.listeners.ldaps.scheme | string | "ldaps" | |
| slapd.listeners.ldaps.containerPort | int | 1636 | Set to >1024 to allow container to run as non-root user for improved security. |
| slapd.listeners.ldaps.port | int | 636 | |
| slapd.listeners.extraEnv | object | {} | Extra environment variables to set. |
| phpldapadmin.enabled | bool | true | Enable 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartopenldap is pinned at v2.4.58-4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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