mirror of
https://github.com/open-webui/helm-charts
synced 2025-06-26 18:16:14 +00:00
fix: use StatefulSet if persistence is enabled
This commit is contained in:
parent
bb2bd2fdfe
commit
72dad958af
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
name: open-webui
|
name: open-webui
|
||||||
version: 3.0.1
|
version: 3.0.2
|
||||||
appVersion: "0.2.5"
|
appVersion: "v0.3.4"
|
||||||
|
|
||||||
home: https://www.openwebui.com/
|
home: https://www.openwebui.com/
|
||||||
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png
|
icon: https://raw.githubusercontent.com/open-webui/open-webui/main/static/favicon.png
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
{{- if .Values.persistence.enabled }}
|
||||||
|
kind: StatefulSet
|
||||||
|
{{- else }}
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
{{- end }}
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "open-webui.name" . }}
|
name: {{ include "open-webui.name" . }}
|
||||||
labels:
|
labels:
|
Loading…
Reference in New Issue
Block a user