Procházet zdrojové kódy

Merge pull request #1423 from slash-proc/fix_helm_ollama_base_url

remove deprecated /api from ollama base url
Timothy Jaeryang Baek před 1 rokem
rodič
revize
7a7d1931d9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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" -}}