pod optimization and advanced settings

This commit is contained in:
duhow committed 2024-02-19 23:32:50 +01:00
1 parent f82347ead6
commit 18463d935e
5 files changed
+17 -2

No files matched your search

@@ -22,6 +22,8 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
enableServiceLinks: false
automountServiceAccountToken: false
containers:
- name: {{ .Chart.Name }}
{{- with .Values.webui.image }}
@@ -39,7 +41,7 @@ spec:
mountPath: /app/backend/data
env:
- name: OLLAMA_API_BASE_URL
value: {{ printf "http://%s.%s.svc.cluster.local:%s/api" (include "ollama.name" .) (.Release.Namespace) (.Values.ollama.servicePort) | quote }}
value: {{ include "ollama.url" . | quote }}
tty: true
{{- with .Values.webui.nodeSelector }}
nodeSelector: