
This adds a chart that allows LDAP support for Harbor dashboard. Signed-off-by: Tin Lam <tin@irrational.io> Change-Id: I60849d720f09296e5cc6872a77053667a6f5b69e
15 lines
466 B
YAML
15 lines
466 B
YAML
{{- define "configmap-harbor_ldap" -}}
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: harbor-ldap-bin
|
|
data:
|
|
harbor-ldap-test.sh: |
|
|
{{- tpl (.Files.Get "bin/harbor-ldap-test.sh") . | nindent 4 }}
|
|
harbor-ldap-setup.sh: |
|
|
{{- tpl (.Files.Get "bin/harbor-ldap-setup.sh") . | nindent 4 }}
|
|
{{- end -}}
|
|
{{- if $.Values.config.ldap.enabled }}
|
|
{{- include "helpers.template.overlay" (dict "Global" $ "template_definition" "configmap-harbor_ldap") }}
|
|
{{- end }}
|