57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: openwebui
|
|
namespace: ai
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "0"
|
|
spec:
|
|
project: ai-stack
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: ai
|
|
source:
|
|
repoURL: https://helm.openwebui.com
|
|
chart: open-webui
|
|
targetRevision: "*"
|
|
helm:
|
|
values: |
|
|
image:
|
|
repository: ghcr.io/open-webui/open-webui
|
|
tag: "main"
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
type: ClusterIP
|
|
|
|
persistence:
|
|
enabled: true
|
|
size: 5Gi
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
hosts:
|
|
- host: openwebui.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls: []
|
|
|
|
# NO SECRETS!!!
|
|
extraEnvVars:
|
|
- name: OLLAMA_BASE_URL
|
|
value: "https://mlep.ion606.com"
|
|
- name: DATABASE_URL
|
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
|
- name: VECTOR_DB
|
|
value: "pgvector"
|
|
- name: PGVECTOR_DB_URL
|
|
value: "postgresql://postgres:mypassword@postgresql-primary.ai.svc.cluster.local:5432/openwebui"
|
|
- name: PGVECTOR_CREATE_EXTENSION
|
|
value: "true"
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|