From 80c5be7dff150679615579ea945e752e7358e5a7 Mon Sep 17 00:00:00 2001 From: Shubham Gupta <69793468+shubham-cmyk@users.noreply.github.com> Date: Fri, 29 Sep 2023 20:25:01 +0530 Subject: [PATCH] remove v7 check (#53) Signed-off-by: Shubham Gupta --- entrypoint.sh | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 265c4e8..4c99442 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -112,13 +112,10 @@ start_redis() { CLUSTER_ANNOUNCE_IP="${POD_IP}" fi - if [[ "${REDIS_MAJOR_VERSION}" != "v7" ]]; then - redis-server /etc/redis/redis.conf \ - --cluster-announce-ip "${CLUSTER_ANNOUNCE_IP}" \ - --cluster-announce-hostname "${POD_HOSTNAME}" - else - redis-server /etc/redis/redis.conf - fi + redis-server /etc/redis/redis.conf \ + --cluster-announce-ip "${CLUSTER_ANNOUNCE_IP}" \ + --cluster-announce-hostname "${POD_HOSTNAME}" + else echo "Starting redis service in standalone mode....." redis-server /etc/redis/redis.conf