diff --git a/charts/open-webui/Chart.lock b/charts/open-webui/Chart.lock index 3a2c5a0..07f2522 100644 --- a/charts/open-webui/Chart.lock +++ b/charts/open-webui/Chart.lock @@ -8,5 +8,8 @@ dependencies: - name: tika repository: https://apache.jfrog.io/artifactory/tika version: 2.9.0 +- name: redis + repository: https://charts.bitnami.com/bitnami + version: 20.6.2 digest: sha256:b86b1f385a7f5ecd31f1d938aaa84384bdfc96cb1a173ca510c53aaeea845e3e generated: "2024-12-27T09:05:35.551706-07:00" diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index 17cb6c7..cdc31c5 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -36,3 +36,7 @@ dependencies: repository: https://apache.jfrog.io/artifactory/tika version: '>=2.9.0' condition: tika.enabled + - name: redis + repository: https://charts.bitnami.com/bitnami + version: '>=20.6.2' + condition: websocket.redisCluster.enabled diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index ac59a7d..e6a06e7 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -78,6 +78,10 @@ helm upgrade --install open-webui open-webui/open-webui | podLabels | object | `{}` | | | podSecurityContext | object | `{}` | Configure pod security context ref: | | readinessProbe | object | `{}` | Probe for readiness of the Open WebUI container ref: | +| redis-cluster.enabled | bool | `false` | Enable Redis installation | +| redis-cluster.fullnameOverride | string | `"open-webui-redis"` | Redis cluster name (recommended to be 'open-webui-redis') | +| redis-cluster.auth.enabled | bool | `false` | Enable Redis authentication | +| redis-cluster.replica.replicaCount | int | `3` | Number of Redis replica instances | | replicaCount | int | `1` | | | resources | object | `{}` | | | service | object | `{"annotations":{},"containerPort":8080,"labels":{},"loadBalancerClass":"","nodePort":"","port":80,"type":"ClusterIP"}` | Service values to expose Open WebUI pods to cluster | diff --git a/charts/open-webui/charts/redis-20.6.2.tgz b/charts/open-webui/charts/redis-20.6.2.tgz new file mode 100644 index 0000000..383bfb0 Binary files /dev/null and b/charts/open-webui/charts/redis-20.6.2.tgz differ diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 009e7f2..c6d5f4f 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -37,7 +37,7 @@ websocket: enabled: false # -- Specifies the websocket manager to use with env `WEBSOCKET_MANAGER`: redis (default) manager: redis - # -- Specifies the URL of the Redis instance for websocket communication. Template with `redis://:/` + # -- Specifies the URL of the Redis instance for websocket communication. Template with `redis://[:@]:/` url: redis://open-webui-redis:6379/0 # -- Deploys a redis redis: @@ -75,6 +75,22 @@ websocket: # -- Redis service node port. Valid only when type is `NodePort` nodePort: "" +# -- Deploys a Redis cluster with subchart 'redis' from bitnami +redis-cluster: + # -- Enable Redis installation + enabled: false + # -- Redis cluster name (recommended to be 'open-webui-redis') + # - In this case, redis url will be 'redis://open-webui-redis-headless:6379/0' or 'redis://[:@]open-webui-redis-headless:6379/0' + fullnameOverride: open-webui-redis + # -- Redis Authentication + auth: + # -- Enable Redis authentication (disabled by default) + enabled: false + # -- Replica configuration for the Redis cluster + replica: + # -- Number of Redis replica instances + replicaCount: 3 + # -- Value of cluster domain clusterDomain: cluster.local