18 lines
479 B
YAML
18 lines
479 B
YAML
{{ if not .Values.existingSecret }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ template "openldap.fullname" . }}-ltb-passwd
|
|
labels:
|
|
app: {{ template "openldap.name" . }}
|
|
chart: {{ template "openldap.chart" . }}
|
|
release: {{ .Release.Name }}
|
|
heritage: {{ .Release.Service }}
|
|
{{- if .Values.extraLabels }}
|
|
{{ toYaml .Values.extraLabels | indent 4 }}
|
|
{{- end }}
|
|
type: Opaque
|
|
data:
|
|
LDAP_ADMIN_PASSWORD: {{ .Values.adminPassword | b64enc | quote }}
|
|
{{ end }}
|