Compare commits

...

6 Commits

Author SHA1 Message Date
James W.
a7b9fd5600 Merge pull request #181 from jyje/issue-179/pipelines-update-strategy 2025-02-20 07:22:46 -07:00
jyje
7f2b641569 feat(pipelines): add strategy for updating deployment
- bump the pipelines chart from 0.2.0 to 0.3.0
2025-02-20 22:38:57 +09:00
James W.
a368503b58 Merge pull request #178 from msabramo/patch-1 2025-02-19 10:13:06 -07:00
Marc Abramowitz
b3f84d0dbf CONTRIBUTING.md: Add link to helm-docs
Add link to helm-docs: https://github.com/norwoodj/helm-docs
2025-02-19 08:32:18 -08:00
James W.
fa81927fe2 Merge pull request #176 from mknet3/helm-add-missing-fields 2025-02-19 09:03:00 -07:00
Manuel Cañete
2a4faf6a96 feat(open-webui): enhance redis deployment with additional configurable properties 2025-02-19 16:52:34 +01:00
9 changed files with 31 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
1. **Fork the repository** and create your branch from `main`.
2. **Make your changes** and ensure they follow the guidelines below.
3. **Test your changes** locally to ensure everything works as expected. This should include deploying your updates to a live Kubernetes cluster (whether local or remote).
4. **Run helm-docs** to ensure that the README is updated with the latest changes.
4. **Run [helm-docs]** to ensure that the README is updated with the latest changes.
5. **Commit your changes** using a descriptive commit message that follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
6. **Push your changes** to your forked repository.
7. **Create a Pull Request** and provide a detailed description of your changes. Please consider dropping us your redacted `values.yaml` file used during your testing in the PR so we can make sure we see consistent results.
@@ -37,3 +37,5 @@
If you need any help or have questions about contributing, feel free to reach out to the maintainers of the repository.
Thank you for your contributions!
[helm-docs]: https://github.com/norwoodj/helm-docs

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: open-webui
version: 5.16.0
version: 5.16.1
appVersion: 0.5.14
home: https://www.openwebui.com/
icon: >-

View File

@@ -1,6 +1,6 @@
# open-webui
![Version: 5.16.0](https://img.shields.io/badge/Version-5.16.0-informational?style=flat-square) ![AppVersion: 0.5.14](https://img.shields.io/badge/AppVersion-0.5.14-informational?style=flat-square)
![Version: 5.16.1](https://img.shields.io/badge/Version-5.16.1-informational?style=flat-square) ![AppVersion: 0.5.14](https://img.shields.io/badge/AppVersion-0.5.14-informational?style=flat-square)
Open WebUI: A User-Friendly Web Interface for Chat Interactions 👋
@@ -109,7 +109,8 @@ helm upgrade --install open-webui open-webui/open-webui
| volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| websocket.enabled | bool | `false` | Enables websocket support in Open WebUI with env `ENABLE_WEBSOCKET_SUPPORT` |
| websocket.manager | string | `"redis"` | Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default) |
| websocket.redis | object | `{"annotations":{},"args":[],"command":[],"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"redis","tag":"7.4.2-alpine3.21"},"labels":{},"name":"open-webui-redis","pods":{"annotations":{}},"resources":{},"service":{"annotations":{},"containerPort":6379,"labels":{},"nodePort":"","port":6379,"type":"ClusterIP"}}` | Deploys a redis |
| websocket.redis | object | `{"affinity":{},"annotations":{},"args":[],"command":[],"enabled":true,"image":{"pullPolicy":"IfNotPresent","repository":"redis","tag":"7.4.2-alpine3.21"},"labels":{},"name":"open-webui-redis","pods":{"annotations":{}},"resources":{},"service":{"annotations":{},"containerPort":6379,"labels":{},"nodePort":"","port":6379,"type":"ClusterIP"},"tolerations":[]}` | Deploys a redis |
| websocket.redis.affinity | object | `{}` | Redis affinity for pod assignment |
| websocket.redis.annotations | object | `{}` | Redis annotations |
| websocket.redis.args | list | `[]` | Redis arguments (overrides default) |
| websocket.redis.command | list | `[]` | Redis command (overrides default) |
@@ -127,6 +128,7 @@ helm upgrade --install open-webui open-webui/open-webui
| websocket.redis.service.nodePort | string | `""` | Redis service node port. Valid only when type is `NodePort` |
| websocket.redis.service.port | int | `6379` | Redis service port |
| websocket.redis.service.type | string | `"ClusterIP"` | Redis service type |
| websocket.redis.tolerations | list | `[]` | Redis tolerations for pod assignment |
| websocket.url | string | `"redis://open-webui-redis:6379/0"` | Specifies the URL of the Redis instance for websocket communication. Template with `redis://[:<password>@]<hostname>:<port>/<db>` |
----------------------------------------------

View File

@@ -45,6 +45,14 @@ spec:
resources:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.websocket.redis.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.websocket.redis.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
---
apiVersion: v1
kind: Service

View File

@@ -84,6 +84,11 @@ websocket:
port: 6379
# -- Redis service node port. Valid only when type is `NodePort`
nodePort: ""
# -- Redis tolerations for pod assignment
tolerations: []
# -- Redis affinity for pod assignment
affinity: {}
# -- Deploys a Redis cluster with subchart 'redis' from bitnami
redis-cluster:

View File

@@ -1,6 +1,6 @@
apiVersion: v2
name: pipelines
version: 0.2.0
version: 0.3.0
appVersion: "alpha"
home: https://github.com/open-webui/pipelines

View File

@@ -69,9 +69,10 @@ helm upgrade --install open-webui open-webui/pipelines
| service.type | string | `"ClusterIP"` | |
| serviceAccount.automountServiceAccountToken | bool | `false` | |
| serviceAccount.enable | bool | `true` | |
| strategy | object | `{}` | Strategy for updating the deployment |
| tolerations | list | `[]` | Tolerations for pod assignment |
| volumeMounts | list | `[]` | Configure container volume mounts |
| volumes | list | `[]` | Configure pod volumes |
| volumeMounts | list | `[]` | Configure container volume mounts ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
| volumes | list | `[]` | Configure pod volumes ref: <https://kubernetes.io/docs/tasks/configure-pod-container/configure-volume-storage/> |
----------------------------------------------

View File

@@ -14,6 +14,10 @@ spec:
selector:
matchLabels:
{{- include "pipelines.selectorLabels" . | nindent 6 }}
{{- with .Values.strategy }}
strategy:
{{- toYaml . | nindent 4 }}
{{- end }}
template:
metadata:
labels:

View File

@@ -8,6 +8,8 @@ annotations: {}
podAnnotations: {}
podLabels: {}
replicaCount: 1
# -- Strategy for updating the deployment
strategy: {}
image:
repository: ghcr.io/open-webui/pipelines
tag: main