-
Notifications
You must be signed in to change notification settings - Fork 806
Open
Labels
Description
Some cloud vendors create a Secret with PostgreSQL connection details.
Can we make the chart pick up these details from a Secret, just like the password?
harbor-helm/templates/_helpers.tpl
Lines 88 to 94 in ac65d7b
{{- define "harbor.database.host" -}} | |
{{- if eq .Values.database.type "internal" -}} | |
{{- template "harbor.database" . }} | |
{{- else -}} | |
{{- .Values.database.external.host -}} | |
{{- end -}} | |
{{- end -}} |