Skip to content

Commit

Permalink
Merge pull request #553 from aamotharald/patch-1
Browse files Browse the repository at this point in the history
CLUSTER_NO_TLS_VALIDATION in docker - Update entrypoint.sh
  • Loading branch information
sseide authored Jan 26, 2024
2 parents 6b35668 + 8db5914 commit 6299ea0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ SENTINEL_TLS_KEY_FILE
SENTINEL_TLS_SERVER_NAME
SENTINELS
K8S_SIGTERM
CLUSTERS
IS_CLUSTER
CLUSTER_NO_TLS_VALIDATION
```
A (partial) description for the mapping onto the cli params and into the config files can be found
at the [docs/connections.md](docs/connections.md) file.
Expand Down
4 changes: 4 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,10 @@ if [ -n "$IS_CLUSTER" ] && parse_boolean "$IS_CLUSTER"; then
set -- "$@" "--is-cluster"
fi

if [ -n "$CLUSTER_NO_TLS_VALIDATION" ] && parse_boolean "$CLUSTER_NO_TLS_VALIDATION"; then
set -- "$@" "--cluster-no-tls-validation"
fi

if [ -n "$REPLACE_CONFIG_ENV" ]; then
# special case for more complex docker setup with multiple connections
# to unix sockets, sentinels and normal redis server not configurable
Expand Down

0 comments on commit 6299ea0

Please sign in to comment.