diff --git a/charts/open-webui/templates/websocket-redis.yaml b/charts/open-webui/templates/websocket-redis.yaml index 774e326..8b652f5 100644 --- a/charts/open-webui/templates/websocket-redis.yaml +++ b/charts/open-webui/templates/websocket-redis.yaml @@ -61,6 +61,10 @@ spec: securityContext: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.websocket.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} --- apiVersion: v1 kind: Service diff --git a/charts/open-webui/values.yaml b/charts/open-webui/values.yaml index 22f1765..652d985 100644 --- a/charts/open-webui/values.yaml +++ b/charts/open-webui/values.yaml @@ -44,6 +44,8 @@ websocket: manager: redis # -- Specifies the URL of the Redis instance for websocket communication. Template with `redis://[:@]:/` url: redis://open-webui-redis:6379/0 + # -- Node selector for websocket pods + nodeSelector: {} # -- Deploys a redis redis: # -- Enable redis installation