Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

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

Muhammad Azhdari136cf1d5a857
diff --git a/helm/librechat-rag-api/templates/rag-deployment.yaml b/helm/librechat-rag-api/templates/rag-deployment.yaml
index dfe10dcedc..7f31df251b 100755
--- a/helm/librechat-rag-api/templates/rag-deployment.yaml
+++ b/helm/librechat-rag-api/templates/rag-deployment.yaml
@@ -57,7 +57,7 @@ spec:
valueFrom:
secretKeyRef:
name: {{ .Values.postgresql.auth.existingSecret }}
- key: {{ .Values.postgresql.auth.existingSecretKey }}
+ key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey }}
{{- end }}
{{- if .Values.global.librechat.existingSecretName }}
- name: OPENAI_API_KEY
diff --git a/helm/librechat-rag-api/values.yaml b/helm/librechat-rag-api/values.yaml
index 4aec90b1d0..cd722bc096 100755
--- a/helm/librechat-rag-api/values.yaml
+++ b/helm/librechat-rag-api/values.yaml
@@ -14,6 +14,7 @@ image:
# Overrides the image tag whose default is the chart appVersion.
tag: latest
+# See https://github.com/bitnami/charts/blob/main/bitnami/postgresql/values.yaml for more details.
postgresql:
enabled: true
# 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
existingSecret: librechat-vectordb
# 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: []
nameOverride: ''