Update open-webui deployment and manifest for version 0.7.2; streamline configuration variables
This commit is contained in:
@@ -13,15 +13,11 @@ spec:
|
||||
component: web
|
||||
spec:
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsGroup: 1000
|
||||
fsGroup: 1000
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
containers:
|
||||
- name: open-webui
|
||||
image: {{ .apps.openWebui.image }}
|
||||
image: {{ .image }}
|
||||
imagePullPolicy: IfNotPresent
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
@@ -31,21 +27,21 @@ spec:
|
||||
readOnlyRootFilesystem: false
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: {{ .apps.openWebui.port }}
|
||||
containerPort: {{ .port }}
|
||||
env:
|
||||
- name: WEBUI_AUTH
|
||||
value: "{{ .apps.openWebui.enableAuth }}"
|
||||
value: "{{ .enableAuth }}"
|
||||
- name: ENABLE_SIGNUP
|
||||
value: "{{ .apps.openWebui.enableSignup }}"
|
||||
value: "{{ .enableSignup }}"
|
||||
- name: OPENAI_API_BASE_URL
|
||||
value: "{{ .apps.openWebui.vllmApiUrl }}"
|
||||
value: "{{ .vllmApiUrl }}"
|
||||
- name: OPENAI_API_KEY
|
||||
value: "sk-placeholder" # Required but not used with vLLM
|
||||
- name: WEBUI_SECRET_KEY
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: open-webui-secrets
|
||||
key: openWebui.secretKey
|
||||
key: secretKey
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /app/backend/data
|
||||
@@ -56,18 +52,23 @@ spec:
|
||||
limits:
|
||||
cpu: 1
|
||||
memory: 2Gi
|
||||
readinessProbe:
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
failureThreshold: 18
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
port: http
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
path: /health
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
periodSeconds: 30
|
||||
timeoutSeconds: 5
|
||||
volumes:
|
||||
|
||||
Reference in New Issue
Block a user