Compare commits

...

3 Commits

Author SHA1 Message Date
James W.
d826181995 Merge pull request #123 from jyje/feat/open-webui
Add updateStrategy for workload manager
2024-12-12 20:02:57 -08:00
James W.
fe387238e1 Merge branch 'main' into feat/open-webui 2024-12-12 20:01:37 -08:00
jyje
7c6aa4fc19 Add updateStrategy for workload manager
To add update strategy, choose 'strategy' for 'Deployment/spec.strategy' and 'StatefulSet/spec.updateStrategy'. Update samver from 4.0.6 to 4.1.0 with minor spec changes
2024-12-06 04:57:41 +09:00
4 changed files with 15 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 4.0.7
version: 4.1.0
appVersion: 0.4.7
home: https://www.openwebui.com/
icon: >-

View File

@@ -1,6 +1,6 @@
# open-webui
![Version: 4.0.7](https://img.shields.io/badge/Version-4.0.7-informational?style=flat-square) ![AppVersion: 0.4.7](https://img.shields.io/badge/AppVersion-0.4.7-informational?style=flat-square)
![Version: 4.1.0](https://img.shields.io/badge/Version-4.1.0-informational?style=flat-square) ![AppVersion: 0.4.7](https://img.shields.io/badge/AppVersion-0.4.7-informational?style=flat-square)
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
@@ -76,6 +76,7 @@ helm upgrade --install open-webui open-webui/open-webui
| podAnnotations | object | `{}` | |
| podSecurityContext | object | `{}` | Configure pod security context ref: <https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-containe> |
| replicaCount | int | `1` | |
| strategy | object | `{}` | |
| resources | object | `{}` | |
| service | object | `{"annotations":{},"containerPort":8080,"labels":{},"loadBalancerClass":"","nodePort":"","port":80,"type":"ClusterIP"}` | Service values to expose Open WebUI pods to cluster |
| serviceAccount.annotations | object | `{}` | |

9
charts/open-webui/templates/workload-manager.yaml Normal file → Executable file
View File

@@ -21,6 +21,15 @@ spec:
selector:
matchLabels:
{{- include "open-webui.selectorLabels" . | nindent 6 }}
{{- if .Values.strategy }}
{{- if .Values.persistence.enabled }}
updateStrategy:
{{- toYaml .Values.strategy | nindent 4 }}
{{- else }}
strategy:
{{- toYaml .Values.strategy | nindent 4 }}
{{- end }}
{{- end }}
template:
metadata:
labels:

View File

@@ -39,7 +39,9 @@ annotations: {}
podAnnotations: {}
podLabels: {}
replicaCount: 1
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui/pkgs/container/open-webui
# -- Strategy for updating the workload manager: deployment or statefulset
strategy: {}
# -- Open WebUI image tags can be found here: https://github.com/open-webui/open-webui
image:
repository: ghcr.io/open-webui/open-webui
tag: ""