12 lines
288 B
YAML
12 lines
288 B
YAML
{{- if eq .Values.database.type "internal" -}}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: "{{ template "harbor.database" . }}"
|
|
labels:
|
|
{{ include "harbor.labels" . | indent 4 }}
|
|
type: Opaque
|
|
data:
|
|
POSTGRES_PASSWORD: {{ template "harbor.database.encryptedPassword" . }}
|
|
{{- end -}}
|