Skip to content

Commit 1e757be

Browse files
committed
Add missing tls-auth-clients option
1 parent b85e69d commit 1e757be

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/actions/run-tests/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ runs:
6969
exit 1
7070
fi
7171
72-
if (( redis_major_version < 6 )); then
73-
export REDIS_STACK_EXTRA_ARGS="--save ''"
74-
export REDIS_EXTRA_ARGS="--save ''"
72+
if (( redis_major_version < 7 )); then
73+
export REDIS_STACK_EXTRA_ARGS="--tls-auth-clients optional --save ''"
74+
export REDIS_EXTRA_ARGS="--tls-auth-clients optional --save ''"
7575
fi
7676
7777
invoke devenv --endpoints=all-stack

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
- REDIS_CLUSTER=no
1111
- PORT=6379
1212
- TLS_PORT=6666
13-
command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --save ""}
13+
command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
1414
ports:
1515
- 6379:6379
1616
- 6666:6666 # TLS port
@@ -46,7 +46,7 @@ services:
4646
- TLS_ENABLED=yes
4747
- PORT=16379
4848
- TLS_PORT=27379
49-
command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --save ""}
49+
command: ${REDIS_EXTRA_ARGS:---enable-debug-command yes --enable-module-command yes --tls-auth-clients optional --save ""}
5050
ports:
5151
- "16379-16384:16379-16384"
5252
- "27379-27384:27379-27384"

0 commit comments

Comments
 (0)