Skip to content

Commit 61010c3

Browse files
committed
Fix wait for redis
Signed-off-by: Pieter van der Giessen <[email protected]>
1 parent 1d09e96 commit 61010c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.5.3
2+
version: 7.5.4
33
apiVersion: v2
44
appVersion: 7.6.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -35,7 +35,7 @@ kubeVersion: ">=1.9.0-0"
3535
annotations:
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
4141
url: https://github.com/oauth2-proxy/manifests/issues/202

helm/oauth2-proxy/scripts/check-redis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)