Skip to content

Pick up all DB details from Secret #2197

@lindeskar

Description

@lindeskar

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?

{{- define "harbor.database.host" -}}
{{- if eq .Values.database.type "internal" -}}
{{- template "harbor.database" . }}
{{- else -}}
{{- .Values.database.external.host -}}
{{- end -}}
{{- end -}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions