File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11name : oauth2-proxy
2- version : 7.5.3
2+ version : 7.5.4
33apiVersion : v2
44appVersion : 7.6.0
55home : https://oauth2-proxy.github.io/oauth2-proxy/
@@ -35,7 +35,7 @@ kubeVersion: ">=1.9.0-0"
3535annotations :
3636 artifacthub.io/changes : |
3737 - kind: changed
38- description: Redis parameters update in values
38+ description: Wait for redis script fixes for cluster and sentinel
3939 links:
4040 - name: Github PR
41- url: https://github.com/oauth2-proxy/manifests/issues/202
41+ url: https://github.com/oauth2-proxy/manifests/issues/205
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ parse_and_check() {
3131}
3232
3333# Main
34- if [ " $OAUTH2_PROXY_REDIS_USE_CLUSTER " = " true " ]; then
34+ if [ -n " $OAUTH2_PROXY_REDIS_CLUSTER_CONNECTION_URLS " ]; then
3535 echo " Checking Redis in cluster mode..."
3636 echo " $OAUTH2_PROXY_REDIS_CLUSTER_CONNECTION_URLS " | tr ' ,' ' \n' | while read -r addr; do
3737 parse_and_check $addr || exit 1
3838 done
39- elif [ " $OAUTH2_PROXY_REDIS_USE_SENTINEL " = " true " ]; then
39+ elif [ -n " $OAUTH2_PROXY_REDIS_SENTINEL_CONNECTION_URLS " ]; then
4040 echo " Checking Redis in sentinel mode..."
4141 echo " $OAUTH2_PROXY_REDIS_SENTINEL_CONNECTION_URLS " | tr ' ,' ' \n' | while read -r addr; do
4242 parse_and_check $addr || exit 1
Original file line number Diff line number Diff line change 7272 - name : OAUTH2_PROXY_REDIS_CONNECTION_URL
7373 value : {{ include "oauth2-proxy.redis.StandaloneUrl" . }}
7474 {{- else if eq (default "" .Values.sessionStorage.redis.clientType) "cluster" }}
75+ - name : OAUTH2_PROXY_REDIS_USE_CLUSTER
76+ value : " true"
7577 - name : OAUTH2_PROXY_REDIS_CLUSTER_CONNECTION_URLS
7678 value : {{ .Values.sessionStorage.redis.cluster.connectionUrls }}
7779 {{- else if eq (default "" .Values.sessionStorage.redis.clientType) "sentinel" }}
80+ - name : OAUTH2_PROXY_REDIS_USE_SENTINEL
81+ value : " true"
7882 - name : OAUTH2_PROXY_REDIS_SENTINEL_CONNECTION_URLS
7983 value : {{ .Values.sessionStorage.redis.sentinel.connectionUrls }}
8084 {{- end }}
You can’t perform that action at this time.
0 commit comments