mirror of
https://github.com/goharbor/harbor.git
synced 2024-06-24 13:55:05 +02:00
6bb2bbb3ce
The chart currently is using images of Harbor 1.5 which contains three databases, this commit reduce them to only one to support master branch codes.
12 lines
288 B
YAML
12 lines
288 B
YAML
{{- if eq .Values.database.type "internal" -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: "{{ template "harbor.fullname" . }}-database"
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
type: Opaque
|
|
data:
|
|
POSTGRES_PASSWORD: {{ template "harbor.database.password" . }}
|
|
{{- end -}}
|