Skip to content

Commit

Permalink
fix: slave connect to master when tls enable (#86)
Browse files Browse the repository at this point in the history
Signed-off-by: drivebyer <[email protected]>
  • Loading branch information
drivebyer authored Sep 18, 2024
1 parent d7beb0c commit fca3aa5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit fca3aa5

Please sign in to comment.