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