fix: use StatefulSet if persistence is enabled

This commit is contained in:
Matthieu Charreire 2024-06-13 18:14:25 +02:00
parent bb2bd2fdfe
commit 72dad958af
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v2
name: open-webui
version: 3.0.1
appVersion: "0.2.5"
version: 3.0.2
appVersion: "v0.3.4"
home: https://www.openwebui.com/
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png

View File

@ -1,5 +1,9 @@
apiVersion: apps/v1
{{- if .Values.persistence.enabled }}
kind: StatefulSet
{{- else }}
kind: Deployment
{{- end }}
metadata:
name: {{ include "open-webui.name" . }}
labels: