From c5ed4557bf6ac0c7b0e2b49369d8020047bc6735 Mon Sep 17 00:00:00 2001 From: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> Date: Mon, 2 Oct 2023 14:12:41 +0530 Subject: [PATCH] fix env change (#55) Signed-off-by: Shubham Gupta --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 60d11b6..0d33884 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -107,7 +107,7 @@ start_redis() { if [[ "${SETUP_MODE}" == "cluster" ]]; then echo "Starting redis service in cluster mode....." if [[ "${NODEPORT}" == "true" ]]; then - CLUSTER_ANNOUNCE_IP="node-ip-$(hostname)" + CLUSTER_ANNOUNCE_IP="${!node-ip-$(hostname)}" else CLUSTER_ANNOUNCE_IP="${POD_IP}" fi