Skip to content

Commit f274700

Browse files
author
sd109
committed
Quote HF token to handle special characters
1 parent cd3c59f commit f274700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chart/templates/api/deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
spec:
88
replicas: 1
99
selector:
10-
matchLabels:
10+
matchLabels:
1111
{{- include "azimuth-llm.api-selectorLabels" . | nindent 6 }}
1212
strategy:
1313
{{- .Values.api.updateStrategy | toYaml | nindent 4 }}
@@ -38,7 +38,7 @@ spec:
3838
{{- else if .Values.huggingface.token }}
3939
env:
4040
- name: HUGGING_FACE_HUB_TOKEN
41-
value: {{ .Values.huggingface.token }}
41+
value: {{ quote .Values.huggingface.token }}
4242
{{- else if contains "Llama" .Values.huggingface.model -}}
4343
{{- fail "Either secretName or token value must be set for Llama and other gated models" }}
4444
{{- end }}

0 commit comments

Comments
 (0)