harbor/contrib/helm/harbor/templates/database/database-secret.yaml
Wenkai Yin 6bb2bbb3ce Modify chart to support master branch
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.
2018-07-05 14:27:48 +08:00

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 -}}