diff --git a/open-webui/deployment.yaml b/open-webui/deployment.yaml index 1fc9b3a..2545bb1 100644 --- a/open-webui/deployment.yaml +++ b/open-webui/deployment.yaml @@ -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: diff --git a/open-webui/manifest.yaml b/open-webui/manifest.yaml index ce09215..fd22df7 100644 --- a/open-webui/manifest.yaml +++ b/open-webui/manifest.yaml @@ -3,17 +3,18 @@ is: open-webui description: Open WebUI is a comprehensive, open-source web interface for AI models. Features a user-friendly design, supports various LLM runners, and operates entirely offline. Perfect for creating a ChatGPT-like experience with local or hosted models. -version: 0.4.5 +version: 0.7.2 icon: https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/open-webui.svg requires: [] defaultConfig: namespace: open-webui externalDnsDomain: '{{ .cloud.domain }}' - image: ghcr.io/open-webui/open-webui:main + image: ghcr.io/open-webui/open-webui:v0.7.2 port: 8080 storage: 10Gi domain: chat.{{ .cloud.domain }} vllmApiUrl: http://vllm-service.llm.svc.cluster.local:8000/v1 enableAuth: true enableSignup: false -defaultSecrets: [] +defaultSecrets: +- key: secretKey diff --git a/open-webui/pvc.yaml b/open-webui/pvc.yaml index ecb8be6..9756c0b 100644 --- a/open-webui/pvc.yaml +++ b/open-webui/pvc.yaml @@ -7,4 +7,4 @@ spec: - ReadWriteOnce resources: requests: - storage: {{ .apps.openWebui.storage }} \ No newline at end of file + storage: {{ .storage }} \ No newline at end of file