From 4f3d9d1f822f184c17c847f3ad1b1a5a50c57486 Mon Sep 17 00:00:00 2001 From: FlorentMair80 <138573185+FlorentMair80@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:51:48 +0200 Subject: [PATCH] Update statefulset.yaml to defined env CHROMA_LOG_CONFIG Signed-off-by: FlorentMair80 <138573185+FlorentMair80@users.noreply.github.com> --- charts/chromadb-chart/templates/statefulset.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/charts/chromadb-chart/templates/statefulset.yaml b/charts/chromadb-chart/templates/statefulset.yaml index 10cb27a..4b91d44 100644 --- a/charts/chromadb-chart/templates/statefulset.yaml +++ b/charts/chromadb-chart/templates/statefulset.yaml @@ -98,6 +98,10 @@ spec: - name: CHROMA_SERVER_HTTP_PORT value: "{{ .Values.chromadb.serverHttpPort }}" {{- end }} + {{- if .Values.chromadb.logConfigFileLocation }} + - name: CHROMA_LOG_CONFIG + value: "{{ .Values.chromadb.logConfigFileLocation }}" + {{- end }} {{- if and .Values.chromadb.auth.enabled (eq .Values.chromadb.auth.type "token") }} {{- if and (semverCompare ">= 0.4.7" .Values.chromadb.apiVersion) (semverCompare "< 0.5.0" .Values.chromadb.apiVersion) }} - name: CHROMA_SERVER_AUTH_CREDENTIALS