Skip to content

Commit d9c31a0

Browse files
committed
Bump pem,rustls,hyper-rustls - for #1181
Leftover dependabot PRs that needed to go together. Signed-off-by: clux <[email protected]>
1 parent b1cd5f2 commit d9c31a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

kube-client/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ http-body = { version = "0.4.2", optional = true }
4747
either = { version = "1.6.1", optional = true }
4848
thiserror = "1.0.29"
4949
futures = { version = "0.3.17", optional = true }
50-
pem = { version = "1.1.0", optional = true }
50+
pem = { version = "2.0.0", optional = true }
5151
openssl = { version = "0.10.36", optional = true }
52-
rustls = { version = "0.20.3", features = ["dangerous_configuration"], optional = true }
52+
rustls = { version = "0.21.0", features = ["dangerous_configuration"], optional = true }
5353
rustls-pemfile = { version = "1.0.0", optional = true }
5454
bytes = { version = "1.1.0", optional = true }
5555
tokio = { version = "1.14.0", features = ["time", "signal", "sync"], optional = true }
5656
kube-core = { path = "../kube-core", version = "=0.80.0" }
5757
jsonpath_lib = { version = "0.3.0", optional = true }
5858
tokio-util = { version = "0.7.0", optional = true, features = ["io", "codec"] }
5959
hyper = { version = "0.14.13", optional = true, features = ["client", "http1", "stream", "tcp"] }
60-
hyper-rustls = { version = "0.23.2", optional = true }
60+
hyper-rustls = { version = "0.24.0", optional = true }
6161
tokio-tungstenite = { version = "0.18.0", optional = true }
6262
tower = { version = "0.4.6", optional = true, features = ["buffer", "filter", "util"] }
6363
tower-http = { version = "0.4.0", optional = true, features = ["auth", "map-response-body", "trace"] }

kube-client/src/config/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ fn certs(data: &[u8]) -> Result<Vec<Vec<u8>>, pem::PemError> {
377377
Ok(pem::parse_many(data)?
378378
.into_iter()
379379
.filter_map(|p| {
380-
if p.tag == "CERTIFICATE" {
381-
Some(p.contents)
380+
if p.tag() == "CERTIFICATE" {
381+
Some(p.into_contents())
382382
} else {
383383
None
384384
}

0 commit comments

Comments
 (0)