From a1e073f55793f59d9bf8362c65f8aaff0a4df28d Mon Sep 17 00:00:00 2001 From: Alexander Schaber Date: Fri, 9 Aug 2024 00:54:39 +0200 Subject: [PATCH 1/2] feat: Add topologySpreadConstraints to workload-manager.yaml template --- charts/open-webui/templates/workload-manager.yaml | 4 ++++ charts/open-webui/values.yaml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/charts/open-webui/templates/workload-manager.yaml b/charts/open-webui/templates/workload-manager.yaml index 33f09b5..3325334 100644 --- a/charts/open-webui/templates/workload-manager.yaml +++ b/charts/open-webui/templates/workload-manager.yaml @@ -97,6 +97,10 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.topologySpreadConstraints }} + topologySpreadConstraints: + {{- toYaml . | nindent 8 }} + {{- end }} volumes: {{- if and .Values.persistence.enabled .Values.persistence.existingClaim }} - name: data diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 7dd1fac..a04e2d0 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -68,6 +68,9 @@ tolerations: [] # -- Affinity for pod assignment affinity: {} +# -- Topology Spread Constraints for pod assignment +topologySpreadConstraints: [] + # -- Service values to expose Open WebUI pods to cluster service: type: ClusterIP From d492339dd7d39ffe0523e3d1ba4ce767afec91c0 Mon Sep 17 00:00:00 2001 From: "0xThresh.eth" <0xthresh@protonmail.com> Date: Thu, 15 Aug 2024 20:31:22 -0600 Subject: [PATCH 2/2] Update version and docs --- charts/open-webui/Chart.yaml | 2 +- charts/open-webui/README.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index a296c18..a510d4e 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 3.1.2 +version: 3.1.3 appVersion: "0.3.9" home: https://www.openwebui.com/ diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index 04529d2..87d59d1 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -1,6 +1,6 @@ # open-webui -![Version: 3.1.0](https://img.shields.io/badge/Version-3.1.0-informational?style=flat-square) ![AppVersion: v0.3.8](https://img.shields.io/badge/AppVersion-v0.3.8-informational?style=flat-square) +![Version: 3.1.3](https://img.shields.io/badge/Version-3.1.3-informational?style=flat-square) ![AppVersion: 0.3.9](https://img.shields.io/badge/AppVersion-0.3.9-informational?style=flat-square) Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋 @@ -73,6 +73,7 @@ helm upgrade --install open-webui open-webui/open-webui | resources | object | `{}` | | | service | object | `{"annotations":{},"containerPort":8080,"labels":{},"loadBalancerClass":"","nodePort":"","port":80,"type":"ClusterIP"}` | Service values to expose Open WebUI pods to cluster | | tolerations | list | `[]` | Tolerations for pod assignment | +| topologySpreadConstraints | list | `[]` | Topology Spread Constraints for pod assignment | ----------------------------------------------