From 136cf1d5a857824587ca55bbf1c3da13ec49e592 Mon Sep 17 00:00:00 2001 From: Muhammad Azhdari <35610039+mmdaz@users.noreply.github.com> Date: Sat, 13 Sep 2025 01:06:38 +0330 Subject: [PATCH] =?UTF-8?q?=E2=9B=91=EF=B8=8F=20fix:=20follow=20postgres?= =?UTF-8?q?=20bitnami=20values=20schema=20in=20rag-api=20helm=20chart=20(#?= =?UTF-8?q?7782)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- helm/librechat-rag-api/templates/rag-deployment.yaml | 2 +- helm/librechat-rag-api/values.yaml | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/helm/librechat-rag-api/templates/rag-deployment.yaml b/helm/librechat-rag-api/templates/rag-deployment.yaml index dfe10dced..7f31df251 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 4aec90b1d..cd722bc09 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: ''