diff --git a/stable/openldap/Chart.yaml b/stable/openldap/Chart.yaml index d8eee030dc..b775305036 100644 --- a/stable/openldap/Chart.yaml +++ b/stable/openldap/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: openldap home: https://www.openldap.org -version: 1.2.4 +version: 1.2.5 appVersion: 2.4.48 description: Community developed LDAP software icon: http://www.openldap.org/images/headers/LDAPworm.gif diff --git a/stable/openldap/README.md b/stable/openldap/README.md index 3496c40ebb..d6902534d2 100644 --- a/stable/openldap/README.md +++ b/stable/openldap/README.md @@ -42,6 +42,7 @@ The following table lists the configurable parameters of the openldap chart and | `service.sslLdapPort` | External service port for SSL+LDAP | `636` | | `service.type` | Service type | `ClusterIP` | | `env` | List of key value pairs as env variables to be sent to the docker image. See https://github.com/osixia/docker-openldap for available ones | `[see values.yaml]` | +| `logLevel` | Set the container log level. Valid values: `none`, `error`, `warning`, `info`, `debug`, `trace` | `info` | | `tls.enabled` | Set to enable TLS/LDAPS - should also set `tls.secret` | `false` | | `tls.secret` | Secret containing TLS cert and key (eg, generated via cert-manager) | `""` | | `tls.CA.enabled` | Set to enable custom CA crt file - should also set `tls.CA.secret` | `false` | diff --git a/stable/openldap/templates/deployment.yaml b/stable/openldap/templates/deployment.yaml index a5847f198c..3110ebd767 100644 --- a/stable/openldap/templates/deployment.yaml +++ b/stable/openldap/templates/deployment.yaml @@ -79,8 +79,11 @@ spec: - name: {{ .Chart.Name }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} + args: + - -l + - {{ .Values.logLevel }} {{- if .Values.customLdifFiles }} - args: [--copy-service] + - --copy-service {{- end }} ports: - name: ldap-port diff --git a/stable/openldap/values.yaml b/stable/openldap/values.yaml index ddb188fdf5..96018021aa 100644 --- a/stable/openldap/values.yaml +++ b/stable/openldap/values.yaml @@ -114,3 +114,7 @@ test: image: repository: dduportal/bats tag: 0.4.0 + +# Set the container log level +# Valid log levels: none, error, warning, info (default), debug, trace +logLevel: info