openldap: Support setting container image log level (#23482)

Signed-off-by: Jeff Goldschrafe <jeff@holyhandgrenade.org>
This commit is contained in:
Jeff Goldschrafe
2020-08-12 09:27:44 -07:00
committed by GitHub
parent b2f720d335
commit de7fa2fc8a
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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` |
+4 -1
View File
@@ -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
+4
View File
@@ -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