From 72ea6f2ea8f658dbefcc74cdd109f100c8fde6d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20La=C3=9F?= <33754750+Pit-Storm@users.noreply.github.com> Date: Sat, 7 Sep 2024 17:23:05 +0200 Subject: [PATCH] litellm-helm: fix missing resource definitions in initContainer and missing DBname value for envVars in deployment.yaml (#5562) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix missing resource definitions in initContainer and missing DBname value in envVars in deployment.yaml * fix missing resource definitions in initContainer and missing DBname value in envVars in deployment.yaml --------- Co-authored-by: Peter Laß --- deploy/charts/litellm-helm/templates/deployment.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/charts/litellm-helm/templates/deployment.yaml b/deploy/charts/litellm-helm/templates/deployment.yaml index 06b933a6c..162cb8286 100644 --- a/deploy/charts/litellm-helm/templates/deployment.yaml +++ b/deploy/charts/litellm-helm/templates/deployment.yaml @@ -67,7 +67,7 @@ spec: - name: DATABASE_HOST value: {{ .Values.db.endpoint }} - name: DATABASE_NAME - value: litellm + value: {{ .Values.db.database }} {{- end }} command: - sh @@ -89,6 +89,8 @@ spec: else echo "Database failed to become ready before we gave up waiting." fi + resources: + {{- toYaml .Values.resources | nindent 12 }} {{ if .Values.securityContext.readOnlyRootFilesystem }} volumeMounts: - name: tmp