diff --git a/entrypoint.sh b/entrypoint.sh index 4ab74b7..1cf6d9f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -59,9 +59,12 @@ tls_setup() { echo tls-auth-clients optional } >> /etc/redis/redis.conf + { + echo tls-replication yes + } >> /etc/redis/redis.conf + if [[ "${SETUP_MODE}" == "cluster" ]]; then { - echo tls-replication yes echo tls-cluster yes } >> /etc/redis/redis.conf