forked from open-webui/open-webui
fix(helm): remove trailing slash
The trailing `/` causes requests to be written with `//` and results in 404 responses from the ollama service. This results in ollama models being unusable. Removing the training slash here resolves the issue.
This commit is contained in:
parent
0399a69b73
commit
e08c144f0b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ ollama
|
||||||
{{- if .Values.ollama.externalHost }}
|
{{- if .Values.ollama.externalHost }}
|
||||||
{{- printf .Values.ollama.externalHost }}
|
{{- printf .Values.ollama.externalHost }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- printf "http://%s.%s.svc.cluster.local:%d/" (include "ollama.name" .) (.Release.Namespace) (.Values.ollama.service.port | int) }}
|
{{- printf "http://%s.%s.svc.cluster.local:%d" (include "ollama.name" .) (.Release.Namespace) (.Values.ollama.service.port | int) }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue