From d462f617f44ee55fb7666c63b2da88a5fde43523 Mon Sep 17 00:00:00 2001 From: Jayson Reis Date: Wed, 8 Jun 2022 22:01:28 +0200 Subject: [PATCH] fix(kubernetes_logs): Compile kube-rs with openssl (#13038) * fix(kubernetes_logs): Compile kube-rs with openssl This is to avoid breaking kubernetes_source inside clusters with k3s. For more info check the issue https://github.com/kube-rs/kube-rs/issues/805 * +e2e ci Signed-off-by: Spencer Gilbert Co-authored-by: Spencer Gilbert --- Cargo.lock | 6 +++--- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 984f363c014b0..2d14b25f699df 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3944,21 +3944,21 @@ dependencies = [ "http", "http-body", "hyper", - "hyper-rustls 0.23.0", "hyper-timeout", + "hyper-tls", "jsonpath_lib", "k8s-openapi", "kube-core", + "openssl", "pem 1.0.2", "pin-project", - "rustls 0.20.4", - "rustls-pemfile 0.3.0", "secrecy", "serde", "serde_json", "serde_yaml", "thiserror", "tokio", + "tokio-native-tls", "tokio-util 0.7.1", "tower", "tower-http 0.2.5", diff --git a/Cargo.toml b/Cargo.toml index bb458d458c060..0627608cc07c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -254,7 +254,7 @@ infer = { version = "0.8.0", default-features = false, optional = true} indoc = { version = "1.0.6", default-features = false } inventory = { version = "0.1.10", default-features = false } k8s-openapi = { version = "0.14.0", default-features = false, features = ["api", "v1_16"], optional = true } -kube = { version = "0.71.0", default-features = false, features = ["client", "rustls-tls", "runtime"], optional = true } +kube = { version = "0.71.0", default-features = false, features = ["client", "native-tls", "runtime"], optional = true } listenfd = { version = "1.0.0", default-features = false, optional = true } logfmt = { version = "0.0.2", default-features = false, optional = true } lru = { version = "0.7.6", default-features = false, optional = true }