Files
service-catalog/charts/langfuse/templates/postgresql-secret.yaml
T
2025-03-04 15:33:42 +09:00

17 lines
658 B
YAML

{{- if and (not .Values.postgresql.deploy) (.Values.postgresql.auth.password) -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "langfuse.fullname" . }}-postgresql
labels:
{{- include "langfuse.labels" . | nindent 4 }}
type: Opaque
data:
postgres-password: {{ .Values.postgresql.auth.password | toString | b64enc | quote }}
{{- if .Values.postgresql.directUrl }}
postgres-direct-url: {{ .Values.postgresql.directUrl | toString | b64enc | quote }}
{{- end }}
{{- if .Values.postgresql.shadowDatabaseUrl }}
postgres-shadow-database-url: {{ .Values.postgresql.shadowDatabaseUrl | toString | b64enc | quote }}
{{- end }}
{{- end }}