diff --git a/bitnami/redis/Chart.yaml b/bitnami/redis/Chart.yaml index c6f4a9aa7088ca..b4b13fa3eb7091 100644 --- a/bitnami/redis/Chart.yaml +++ b/bitnami/redis/Chart.yaml @@ -25,4 +25,4 @@ name: redis sources: - https://github.com/bitnami/bitnami-docker-redis - http://redis.io/ -version: 14.6.5 +version: 14.6.6 diff --git a/bitnami/redis/templates/scripts-configmap.yaml b/bitnami/redis/templates/scripts-configmap.yaml index 8f5538a8b2c9e4..6211456c634b57 100644 --- a/bitnami/redis/templates/scripts-configmap.yaml +++ b/bitnami/redis/templates/scripts-configmap.yaml @@ -23,7 +23,7 @@ data: # If there are more than one IP, use the first IPv4 address if [[ "$myip" = *" "* ]]; then - myip=$(echo $myip | awk '{if ( match($0,/([0-9]+\.){3}[0-9]+/) ) { print substr($0,RSTART,RLENGTH); } }') + myip=$(echo $myip | awk '{if ( match($0,/([0-9]+\.)([0-9]+\.)([0-9]+\.)[0-9]+/) ) { print substr($0,RSTART,RLENGTH); } }') fi not_exists_dns_entry() {