mirror of
https://github.com/goharbor/harbor
synced 2025-04-07 21:30:15 +00:00
Add ldap-search-password support to Helm Chart (#4827)
This commit is contained in:
parent
ee6e85f3bc
commit
2229217a2b
|
@ -54,7 +54,6 @@ data:
|
||||||
CLAIR_DB_PORT: "5432"
|
CLAIR_DB_PORT: "5432"
|
||||||
CLAIR_DB: "{{ .Values.clair.postgresDatabase }}"
|
CLAIR_DB: "{{ .Values.clair.postgresDatabase }}"
|
||||||
CLAIR_DB_USERNAME: "{{ .Values.clair.postgresUser }}"
|
CLAIR_DB_USERNAME: "{{ .Values.clair.postgresUser }}"
|
||||||
CLAIR_DB_PASSWORD: "{{ .Values.clair.postgresPassword }}"
|
|
||||||
UAA_ENDPOINT: ""
|
UAA_ENDPOINT: ""
|
||||||
UAA_CLIENTID: ""
|
UAA_CLIENTID: ""
|
||||||
UAA_CLIENTSECRET: ""
|
UAA_CLIENTSECRET: ""
|
||||||
|
|
|
@ -13,7 +13,9 @@ data:
|
||||||
MYSQL_PWD: {{ .Values.mysql.pass | b64enc | quote }}
|
MYSQL_PWD: {{ .Values.mysql.pass | b64enc | quote }}
|
||||||
JOBSERVICE_SECRET: {{ .Values.jobservice.secret | b64enc | quote }}
|
JOBSERVICE_SECRET: {{ .Values.jobservice.secret | b64enc | quote }}
|
||||||
UI_SECRET: {{ .Values.ui.secret | b64enc | quote }}
|
UI_SECRET: {{ .Values.ui.secret | b64enc | quote }}
|
||||||
|
{{- if eq .Values.adminserver.authenticationMode "ldap_auth" }}
|
||||||
|
LDAP_SEARCH_PWD: {{ .Values.adminserver.ldap.searchPwd | b64enc | quote }}
|
||||||
|
{{- end }}
|
||||||
{{ if .Values.clair.enabled }}
|
{{ if .Values.clair.enabled }}
|
||||||
CLAIR_DB_PASSWORD: {{ .Values.clair.postgresPassword | b64enc | quote }}
|
CLAIR_DB_PASSWORD: {{ .Values.clair.postgresPassword | b64enc | quote }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
#LDAP_SEARCH_PWD: not-a-secure-password
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ adminserver:
|
||||||
ldap:
|
ldap:
|
||||||
url: "ldaps://ldapserver"
|
url: "ldaps://ldapserver"
|
||||||
searchDN: ""
|
searchDN: ""
|
||||||
|
searchPassword: ""
|
||||||
baseDN: ""
|
baseDN: ""
|
||||||
filter: "(objectClass=person)"
|
filter: "(objectClass=person)"
|
||||||
uid: "uid"
|
uid: "uid"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user