From 532089087fd520121c64d331716945563509a062 Mon Sep 17 00:00:00 2001 From: Jonathan Perry Date: Wed, 31 Jul 2024 15:52:28 -0400 Subject: [PATCH] fix: helm template evluation for whisper GPU_REQUEST envvar (#859) Signed-off-by: Jon Perry --- packages/whisper/chart/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/whisper/chart/templates/deployment.yaml b/packages/whisper/chart/templates/deployment.yaml index 33eaf2b58..c9639ac8b 100644 --- a/packages/whisper/chart/templates/deployment.yaml +++ b/packages/whisper/chart/templates/deployment.yaml @@ -44,7 +44,7 @@ spec: protocol: TCP env: - name: GPU_REQUEST - value: "{{ (index .Values.resources.requests "nvidia.com/gpu") | default "0" }}" + value: "{{ (index .Values.resources.limits "nvidia.com/gpu") | default "0" }}" resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }}