File tree Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Expand file tree Collapse file tree 2 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 11name : oauth2-proxy
2- version : 7.7.27
2+ version : 7.7.28
33apiVersion : v2
44appVersion : 7.7.1
55home : https://oauth2-proxy.github.io/oauth2-proxy/
@@ -34,8 +34,8 @@ maintainers:
3434kubeVersion : " >=1.9.0-0"
3535annotations :
3636 artifacthub.io/changes : |
37- - kind: fixed
38- description: Updated the Redis chart to the latest version.
37+ - kind: added
38+ description: Added support for 'rediss://' scheme in 'check-redis.sh' script
3939 links:
4040 - name: Github PR
41- url: https://github.com/oauth2-proxy/manifests/pull/247
41+ url: https://github.com/oauth2-proxy/manifests/pull/249
Original file line number Diff line number Diff line change @@ -24,7 +24,16 @@ check_redis() {
2424# For parsing and checking connections
2525parse_and_check () {
2626 url=$1
27- clean_url=${url# redis:// }
27+
28+ # Strip either redis:// or rediss://
29+ if [[ $url == rediss://* ]]; then
30+ clean_url=${url# rediss:// }
31+ echo " Using secure Rediss connection..."
32+ else
33+ clean_url=${url# redis:// }
34+ echo " Using standard Redis connection..."
35+ fi
36+
2837 host=$( echo $clean_url | cut -d' :' -f1)
2938 port=$( echo $clean_url | cut -d' :' -f2)
3039 check_redis $host $port
You can’t perform that action at this time.
0 commit comments