k8s/check-charts/harbor/templates/database/database-secret.yaml

12 lines
288 B
YAML
Raw Normal View History

2023-11-16 19:42:02 +10:00
{{- 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 -}}