mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
openldap: Support setting container image log level (#23482)
Signed-off-by: Jeff Goldschrafe <jeff@holyhandgrenade.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user