From bead1784d26a1ef638a9e91c342e0e8fb59ecc92 Mon Sep 17 00:00:00 2001 From: Pieter van der Giessen Date: Tue, 7 May 2024 16:54:01 +0200 Subject: [PATCH] Add OAUTH2_PROXY_REDIS_USE_CLUSTER Signed-off-by: Pieter van der Giessen --- helm/oauth2-proxy/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helm/oauth2-proxy/templates/deployment.yaml b/helm/oauth2-proxy/templates/deployment.yaml index b896864..ee280d0 100644 --- a/helm/oauth2-proxy/templates/deployment.yaml +++ b/helm/oauth2-proxy/templates/deployment.yaml @@ -72,6 +72,8 @@ spec: - name: OAUTH2_PROXY_REDIS_CONNECTION_URL value: {{ include "oauth2-proxy.redis.StandaloneUrl" . }} {{- else if eq (default "" .Values.sessionStorage.redis.clientType) "cluster" }} + - name: OAUTH2_PROXY_REDIS_USE_CLUSTER + value: "true" - name: OAUTH2_PROXY_REDIS_CLUSTER_CONNECTION_URLS value: {{ .Values.sessionStorage.redis.cluster.connectionUrls }} {{- else if eq (default "" .Values.sessionStorage.redis.clientType) "sentinel" }}