diff --git a/charts/open-webui/Chart.yaml b/charts/open-webui/Chart.yaml index aa981c7..2d0f020 100644 --- a/charts/open-webui/Chart.yaml +++ b/charts/open-webui/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: open-webui -version: 5.24.0 +version: 5.25.0 appVersion: 0.5.20 home: https://www.openwebui.com/ icon: >- diff --git a/charts/open-webui/README.md b/charts/open-webui/README.md index 4caf9b4..6429888 100644 --- a/charts/open-webui/README.md +++ b/charts/open-webui/README.md @@ -124,6 +124,7 @@ helm upgrade --install open-webui open-webui/open-webui | websocket.redis.pods | object | `{"annotations":{}}` | Redis pod | | websocket.redis.pods.annotations | object | `{}` | Redis pod annotations | | websocket.redis.resources | object | `{}` | Redis resources | +| websocket.redis.securityContext | object | `{}` | Redis security context ref: | | websocket.redis.service | object | `{"annotations":{},"containerPort":6379,"labels":{},"nodePort":"","port":6379,"type":"ClusterIP"}` | Redis service | | websocket.redis.service.annotations | object | `{}` | Redis service annotations | | websocket.redis.service.containerPort | int | `6379` | Redis container/target port | diff --git a/charts/open-webui/templates/websocket-redis.yaml b/charts/open-webui/templates/websocket-redis.yaml index 2982929..1606dad 100644 --- a/charts/open-webui/templates/websocket-redis.yaml +++ b/charts/open-webui/templates/websocket-redis.yaml @@ -57,6 +57,10 @@ spec: affinity: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.websocket.redis.securityContext }} + securityContext: + {{- toYaml . | nindent 8 }} + {{- end }} --- apiVersion: v1 kind: Service diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 980256d..02007df 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -90,6 +90,12 @@ websocket: # -- Redis affinity for pod assignment affinity: {} + # -- Redis security context + securityContext: + {} + # runAsUser: 999 + # runAsGroup: 1000 + # -- Deploys a Redis cluster with subchart 'redis' from bitnami redis-cluster: # -- Enable Redis installation