|
@@ -22,6 +22,8 @@ spec:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
spec:
|
|
spec:
|
|
|
|
+ enableServiceLinks: false
|
|
|
|
+ automountServiceAccountToken: false
|
|
containers:
|
|
containers:
|
|
- name: {{ .Chart.Name }}
|
|
- name: {{ .Chart.Name }}
|
|
{{- with .Values.webui.image }}
|
|
{{- with .Values.webui.image }}
|
|
@@ -39,7 +41,7 @@ spec:
|
|
mountPath: /app/backend/data
|
|
mountPath: /app/backend/data
|
|
env:
|
|
env:
|
|
- name: OLLAMA_API_BASE_URL
|
|
- 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
|
|
tty: true
|
|
{{- with .Values.webui.nodeSelector }}
|
|
{{- with .Values.webui.nodeSelector }}
|
|
nodeSelector:
|
|
nodeSelector:
|