21 lines
645 B
YAML
21 lines
645 B
YAML
|
#
|
||
|
# A ConfigMap spec for openldap slapd that map directly to env variables in the Pod.
|
||
|
# List of environment variables supported is from the docker image:
|
||
|
# https://github.com/osixia/docker-openldap#beginner-guide
|
||
|
# Note that passwords are defined as secrets
|
||
|
#
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ template "openldap.fullname" . }}-env
|
||
|
labels:
|
||
|
app: {{ template "openldap.name" . }}
|
||
|
chart: {{ template "openldap.chart" . }}
|
||
|
release: {{ .Release.Name }}
|
||
|
heritage: {{ .Release.Service }}
|
||
|
{{- if .Values.extraLabels }}
|
||
|
{{ toYaml .Values.extraLabels | indent 4 }}
|
||
|
{{- end }}
|
||
|
data:
|
||
|
{{ toYaml .Values.env | indent 2 }}
|