You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
658 B
17 lines
658 B
{{- 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 }} |