pod optimization and advanced settings

This commit is contained in:
duhow 2024-02-19 23:32:50 +01:00
parent f82347ead6
commit 18463d935e
No known key found for this signature in database
5 changed files with 17 additions and 2 deletions

View file

@ -6,6 +6,10 @@
ollama
{{- end -}}
{{- define "ollama.url" -}}
{{- printf "http://%s.%s.svc.cluster.local:%d/api" (include "ollama.name" .) (.Release.Namespace) (.Values.ollama.service.port | int) }}
{{- end }}
{{- define "chart.name" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}