소스 검색

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