瀏覽代碼

Merge pull request #1423 from slash-proc/fix_helm_ollama_base_url

remove deprecated /api from ollama base url
Timothy Jaeryang Baek 1 年之前
父節點
當前提交
7a7d1931d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kubernetes/helm/templates/_helpers.tpl

+ 1 - 1
kubernetes/helm/templates/_helpers.tpl

@@ -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" -}}