2024-03-07 13:53:11 +00:00
|
|
|
image:
|
|
|
|
repository: ollama/ollama
|
|
|
|
pullPolicy: IfNotPresent
|
2024-03-11 12:28:43 +00:00
|
|
|
tag: 0.1.29@sha256:8860aacb14e276a968f77350911f778e9f913ee888f6e50f6e35f30a24c4e164
|
2024-03-07 13:53:11 +00:00
|
|
|
uiImage:
|
2024-03-11 12:28:43 +00:00
|
|
|
repository: ghcr.io/open-webui/open-webui
|
2024-03-07 13:53:11 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-03-11 12:28:43 +00:00
|
|
|
tag: latest@sha256:63318f974e67424b649486d85f8201d6018943115e01983b8dc4bdd329b09711
|
2024-03-07 13:53:11 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
targetSelector: ui
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
protocol: http
|
|
|
|
targetPort: 8080
|
|
|
|
port: 10686
|
|
|
|
targetSelector: ui
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
targetSelector: main
|
|
|
|
ports:
|
|
|
|
api:
|
|
|
|
enabled: true
|
|
|
|
protocol: http
|
|
|
|
targetPort: 11434
|
|
|
|
port: 11434
|
|
|
|
targetSelector: main
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
api:
|
|
|
|
targetSelector:
|
|
|
|
api: api
|
|
|
|
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
|
|
|
imageSelector: image
|
|
|
|
securityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /api/version
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.api.ports.api.port }}"
|
|
|
|
ui:
|
|
|
|
enabled: true
|
|
|
|
type: Deployment
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
ui:
|
|
|
|
primary: true
|
|
|
|
enabled: true
|
|
|
|
imageSelector: uiImage
|
2024-03-11 12:28:43 +00:00
|
|
|
securityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
runAsNonRoot: false
|
|
|
|
readOnlyRootFilesystem: false
|
2024-03-07 13:53:11 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
readiness:
|
|
|
|
enabled: true
|
|
|
|
type: http
|
|
|
|
path: /
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
startup:
|
|
|
|
enabled: true
|
|
|
|
type: tcp
|
|
|
|
port: "{{ .Values.service.main.ports.main.targetPort }}"
|
|
|
|
env:
|
|
|
|
OLLAMA_API_BASE_URL: '{{ printf "http://%v-api:%v/api" (include "tc.v1.common.lib.chart.names.fullname" $) .Values.service.api.ports.api.targetPort }}'
|
|
|
|
WEBUI_SECRET_KEY:
|
|
|
|
secretKeyRef:
|
|
|
|
name: ollama-secrets
|
|
|
|
key: WEBUI_SECRET_KEY
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
targetSelector:
|
|
|
|
main:
|
|
|
|
main:
|
|
|
|
mountPath: "/root/.ollama"
|
|
|
|
data:
|
|
|
|
enabled: true
|
|
|
|
targetSelector:
|
|
|
|
ui:
|
|
|
|
ui:
|
|
|
|
mountPath: "/app/backend/data"
|
|
|
|
|
|
|
|
portal:
|
|
|
|
open:
|
|
|
|
enabled: true
|