Files
wild-directory/open-webui/versions/0/deployment.yaml
Paul Payne 80c0d6b0ac Fix zulip 12.x env vars, try open-webui v0.10.0 intermediate upgrade
- zulip: rename legacy env vars per 12.x migration guide
  (DB_HOST -> SETTING_REMOTE_POSTGRES_HOST, etc.)
  Remove DISABLE_HTTPS/SSL_CERTIFICATE_GENERATION (HTTP is default in 12.x)
  Re-enable slot 12 as latest
- open-webui: try v0.10.0 as intermediate step from v0.9.5
  (v0.12.4 had duplicate column migration error jumping from v0.9.5)
2026-10-26 16:26:43 +00:00

89 lines
2.2 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: open-webui
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
component: web
template:
metadata:
labels:
component: web
spec:
securityContext:
seccompProfile:
type: RuntimeDefault
containers:
- name: open-webui
image: ghcr.io/open-webui/open-webui:v0.10.0
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
readOnlyRootFilesystem: false
ports:
- name: http
containerPort: 8080
env:
- name: WEBUI_AUTH
value: "true"
- name: ENABLE_SIGNUP
value: "false"
- name: OPENAI_API_BASE_URL
value: "{{ .vllmApiUrl }}"
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: open-webui-secrets
key: vllmApiKey
- name: WEBUI_SECRET_KEY
valueFrom:
secretKeyRef:
name: open-webui-secrets
key: secretKey
- name: WEBUI_ADMIN_EMAIL
value: "{{ .adminEmail }}"
- name: WEBUI_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: open-webui-secrets
key: adminPassword
volumeMounts:
- name: data
mountPath: /app/backend/data
resources:
requests:
cpu: 50m
memory: 256Mi
limits:
cpu: 1
memory: 2Gi
startupProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 30
periodSeconds: 10
failureThreshold: 18
readinessProbe:
httpGet:
path: /ready
port: http
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: http
periodSeconds: 30
timeoutSeconds: 5
volumes:
- name: data
persistentVolumeClaim:
claimName: open-webui-data