theshire/kubernetes/apps/ai/open-webui/app/helmrelease.yaml

78 lines
1.9 KiB
YAML
Raw Normal View History

2024-07-17 14:54:16 -05:00
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app open-webui
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.3.0
2024-07-17 14:54:16 -05:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
2024-07-17 18:07:08 -05:00
dependsOn:
- name: ollama
2024-07-17 14:54:16 -05:00
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
open-webui:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/open-webui/open-webui
tag: git-82079e6
env:
- name: OLLAMA_BASE_URL
2024-07-17 15:03:14 -05:00
value: http://ollama.ai.svc.cluster.local:11434
2024-07-17 18:07:08 -05:00
- name: ENABLE_RAG_WEB_SEARCH
value: true
- name: RAG_WEB_SEARCH_ENGINE
value: searxng
2024-07-17 19:06:23 -05:00
- name: SEARXNG_QUERY_URL
2024-07-17 18:07:08 -05:00
value: http://searxng.default.svc.cluster.local:8080/search?q=<query>
2024-07-17 14:54:16 -05:00
resources:
requests:
cpu: 500m
memory: 2Gi
limits:
memory: 2Gi
service:
app:
controller: open-webui
ports:
http:
port: 8080
ingress:
app:
enabled: true
className: internal-nginx
hosts:
- host: &host "chat.jahanson.tech"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /app/backend/data