Merge pull request #1423 from slash-proc/fix_helm_ollama_base_url

remove deprecated /api from ollama base url
This commit is contained in:
Timothy Jaeryang Baek 2024-04-04 17:39:21 -07:00 committed by GitHub
commit 7a7d1931d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ ollama
{{- end -}}
{{- define "ollama.url" -}}
{{- printf "http://%s.%s.svc.cluster.local:%d/api" (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 }}
{{- define "chart.name" -}}