2021-07-06 09:57:15 -04:00
|
|
|
image:
|
2021-12-03 07:02:44 -05:00
|
|
|
repository: tccr.io/truecharts/openldap
|
2021-07-06 09:57:15 -04:00
|
|
|
pullPolicy: IfNotPresent
|
2022-07-25 14:36:51 -04:00
|
|
|
tag: v1.5.0@sha256:e0e2103decf985c6d908ac7d021032f53f3f0827397bbda106f55ed0b844b68b
|
2021-07-06 09:57:15 -04:00
|
|
|
|
2021-09-26 14:05:21 -04:00
|
|
|
securityContext:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2021-07-06 09:57:15 -04:00
|
|
|
controller:
|
|
|
|
# -- Set the controller type.
|
|
|
|
# Valid options are deployment, daemonset or statefulset
|
|
|
|
type: statefulset
|
|
|
|
# -- Number of desired pods
|
|
|
|
replicas: 1
|
|
|
|
# -- Set the controller upgrade strategy
|
|
|
|
# For Deployments, valid values are Recreate (default) and RollingUpdate.
|
|
|
|
# For StatefulSets, valid values are OnDelete and RollingUpdate (default).
|
|
|
|
# DaemonSets ignore this.
|
|
|
|
strategy: RollingUpdate
|
|
|
|
rollingUpdate:
|
|
|
|
# -- Set deployment RollingUpdate max unavailable
|
|
|
|
unavailable: 1
|
|
|
|
# -- Set deployment RollingUpdate max surge
|
|
|
|
surge:
|
|
|
|
# -- Set statefulset RollingUpdate partition
|
|
|
|
partition:
|
|
|
|
# -- ReplicaSet revision history limit
|
|
|
|
revisionHistoryLimit: 3
|
|
|
|
|
2021-09-26 14:05:21 -04:00
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: false
|
|
|
|
|
2021-07-06 09:57:15 -04:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
port: 389
|
2021-11-06 17:55:18 -04:00
|
|
|
targetPort: 389
|
2021-11-08 09:18:49 -05:00
|
|
|
ldaps:
|
2021-11-08 08:42:18 -05:00
|
|
|
enabled: true
|
2021-07-06 09:57:15 -04:00
|
|
|
ports:
|
2021-11-08 09:18:49 -05:00
|
|
|
ldaps:
|
2021-11-08 08:42:18 -05:00
|
|
|
enabled: true
|
2021-07-06 09:57:15 -04:00
|
|
|
port: 636
|
2021-11-06 17:55:18 -04:00
|
|
|
targetPort: 636
|
2021-07-06 09:57:15 -04:00
|
|
|
|
2022-06-07 13:41:19 -04:00
|
|
|
secretEnv:
|
2021-12-11 07:49:05 -05:00
|
|
|
LDAP_ADMIN_PASSWORD: "ldapadmin"
|
|
|
|
LDAP_CONFIG_PASSWORD: "changeme"
|
|
|
|
LDAP_READONLY_USER_USERNAME: "readonly"
|
|
|
|
LDAP_READONLY_USER_PASSWORD: "readonly"
|
2021-07-06 09:57:15 -04:00
|
|
|
# Default configuration for openldap as environment variables. These get injected directly in the container.
|
|
|
|
# Use the env variables from https://github.com/osixia/docker-openldap#beginner-guide
|
|
|
|
env:
|
2021-12-11 07:49:05 -05:00
|
|
|
LDAP_LOG_LEVEL: 256
|
2021-07-06 09:57:15 -04:00
|
|
|
LDAP_ORGANISATION: "Example Inc."
|
|
|
|
LDAP_DOMAIN: "example.org"
|
2021-12-11 07:49:05 -05:00
|
|
|
LDAP_READONLY_USER: false
|
|
|
|
LDAP_RFC2307BIS_SCHEMA: false
|
2021-07-06 09:57:15 -04:00
|
|
|
LDAP_BACKEND: "mdb"
|
2021-12-11 07:49:05 -05:00
|
|
|
LDAP_TLS: true
|
|
|
|
LDAP_TLS_ENFORCE: false
|
2021-07-06 09:57:15 -04:00
|
|
|
LDAP_TLS_VERIFY_CLIENT: "never"
|
|
|
|
LDAP_TLS_PROTOCOL_MIN: "3.0"
|
|
|
|
LDAP_TLS_CIPHER_SUITE: "NORMAL"
|
|
|
|
LDAP_TLS_REQCERT: "never"
|
2021-12-11 07:49:05 -05:00
|
|
|
CONTAINER_LOG_LEVEL: 4
|
|
|
|
KEEP_EXISTING_CONFIG: false
|
|
|
|
LDAP_REMOVE_CONFIG_AFTER_SETUP: true
|
2021-07-06 09:57:15 -04:00
|
|
|
LDAP_SSL_HELPER_PREFIX: "ldap"
|
2022-06-17 04:24:54 -04:00
|
|
|
LDAP_BASE_DN: ""
|
2021-07-06 09:57:15 -04:00
|
|
|
|
|
|
|
replication:
|
|
|
|
enabled: false
|
|
|
|
# Enter the name of your cluster, defaults to "cluster.local"
|
|
|
|
clusterName: "cluster.local"
|
|
|
|
retry: 60
|
|
|
|
timeout: 1
|
|
|
|
interval: 00:00:00:10
|
|
|
|
starttls: "critical"
|
|
|
|
tls_reqcert: "never"
|
|
|
|
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: openldapconfig
|
|
|
|
|
|
|
|
# -- Used in conjunction with `controller.type: statefulset` to create individual disks for each instance.
|
|
|
|
volumeClaimTemplates:
|
|
|
|
data:
|
|
|
|
enabled: true
|
2021-12-19 07:43:31 -05:00
|
|
|
mountPath: "/var/lib/ldap/"
|
2021-07-06 09:57:15 -04:00
|
|
|
slapd:
|
|
|
|
enabled: true
|
2021-12-19 07:43:31 -05:00
|
|
|
mountPath: "/etc/ldap/slapd.d/"
|
2022-08-08 17:25:02 -04:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: false
|