⛑️ fix: follow postgres bitnami values schema in rag-api helm chart (#7782)

This commit is contained in:
Muhammad Azhdari 2025-09-13 01:06:38 +03:30 committed by GitHub
parent 751522087a
commit 136cf1d5a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -57,7 +57,7 @@ spec:
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ .Values.postgresql.auth.existingSecret }} name: {{ .Values.postgresql.auth.existingSecret }}
key: {{ .Values.postgresql.auth.existingSecretKey }} key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey }}
{{- end }} {{- end }}
{{- if .Values.global.librechat.existingSecretName }} {{- if .Values.global.librechat.existingSecretName }}
- name: OPENAI_API_KEY - name: OPENAI_API_KEY

View file

@ -14,6 +14,7 @@ image:
# Overrides the image tag whose default is the chart appVersion. # Overrides the image tag whose default is the chart appVersion.
tag: latest tag: latest
# See https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml for more details.
postgresql: postgresql:
enabled: true enabled: true
# nameOverride: vectordb # nameOverride: vectordb
@ -27,7 +28,10 @@ postgresql:
# define a secret with values for "postgres-password", "password" (user Password) and "replication-password" or add values directly # define a secret with values for "postgres-password", "password" (user Password) and "replication-password" or add values directly
existingSecret: librechat-vectordb existingSecret: librechat-vectordb
# postgres-password is needed to enable pgvector extension. If you enable it manually you can use "password" and user "librechat" # postgres-password is needed to enable pgvector extension. If you enable it manually you can use "password" and user "librechat"
existingSecretKey: postgres-password secretKeys:
userPasswordKey: postgres-password
adminPasswordKey: postgres-password
replicationPasswordKey: postgres-password
imagePullSecrets: [] imagePullSecrets: []
nameOverride: '' nameOverride: ''