Explorar el Código

Merge pull request #1423 from slash-proc/fix_helm_ollama_base_url

remove deprecated /api from ollama base url
Timothy Jaeryang Baek hace 1 año
padre
commit
7a7d1931d9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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" -}}