Files
helm-charts/notely/templates/mongodb-secret.yaml
domrichardson 18c5933307 first commit
2026-03-30 11:27:28 +01:00

13 lines
341 B
YAML

{{- if .Values.mongodb.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "notely.mongodb.fullname" . }}-credentials
labels:
{{- include "notely.labels" . | nindent 4 }}
type: Opaque
stringData:
username: {{ .Values.mongodb.auth.username | quote }}
password: {{ .Values.mongodb.auth.password | quote }}
{{- end }}