From 7230a16db1b5a1ad6696f854cc2a70291ee7eba4 Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Wed, 15 Feb 2023 10:09:40 +0100 Subject: [PATCH] Activate TLS for redis-cluster-async (#2605) Fix #2332 --- .changesets/feat_geal_redis_cluster_tls.md | 5 +++++ apollo-router/Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changesets/feat_geal_redis_cluster_tls.md diff --git a/.changesets/feat_geal_redis_cluster_tls.md b/.changesets/feat_geal_redis_cluster_tls.md new file mode 100644 index 0000000000..0a62c93cf0 --- /dev/null +++ b/.changesets/feat_geal_redis_cluster_tls.md @@ -0,0 +1,5 @@ +### Activate TLS for Redis cluster connections ([Issue #2332](https://github.com/apollographql/router/issues/2332)) + +This adds support for TLS connection in redis cluster mode, using redis urls with the scheme `rediss` + +By [@AUTHOR](https://github.com/AUTHOR) in https://github.com/apollographql/router/pull/2605 \ No newline at end of file diff --git a/apollo-router/Cargo.toml b/apollo-router/Cargo.toml index 8a94a3292c..f4058d0ea8 100644 --- a/apollo-router/Cargo.toml +++ b/apollo-router/Cargo.toml @@ -151,7 +151,7 @@ proteus = "0.5.0" rand = "0.8.5" rhai = { version = "1.12.0", features = ["sync", "serde", "internals"] } redis = { version = "0.21.7", features = ["tokio-comp", "tls", "tokio-native-tls-comp"] } -redis_cluster_async = "0.7.2" +redis_cluster_async = { version = "0.7.2", features = [ "tls" ] } regex = "1.6.0" reqwest = { version = "0.11.14", default-features = false, features = [ "rustls-tls",