fix: set serviceName in StatefulSet spec (#41)

This commit is contained in:
Matthieu Charreire 2024-06-26 16:51:24 +02:00 committed by GitHub
parent 667cc5475a
commit 95a7a220cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

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

View File

@ -14,6 +14,9 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
{{- if .Values.persistence.enabled }}
serviceName: {{ include "open-webui.name" . }}
{{- end }}
selector:
matchLabels:
{{- include "open-webui.selectorLabels" . | nindent 6 }}