Skip to content

Commit 896ba67

Browse files
authored
Merge pull request #1817 from kube-rs/k8s-openapi-026
Bump k8s-openapi to 0.26.0
2 parents 7f58707 + cbfab92 commit 896ba67

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ hyper-timeout = "0.5.1"
5959
hyper-util = "0.1.16"
6060
json-patch = "4"
6161
jsonpath-rust = "0.7.3"
62-
k8s-openapi = { git = "https://github.com/Arnavion/k8s-openapi.git", rev = "e9a9eaf", default-features = false }
62+
k8s-openapi = { version = "0.26.0", default-features = false }
6363
openssl = "0.10.36"
6464
parking_lot = "0.12.0"
6565
pem = "3.0.1"

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Select a version of `kube` along matching versions of [k8s-openapi](https://gith
1616

1717
```toml
1818
[dependencies]
19-
kube = { version = "1", features = ["runtime", "derive"] }
20-
schemars = { version = "0.8" }
21-
k8s-openapi = { version = "0.25", features = ["latest", "schemars"] }
19+
kube = { version = "2", features = ["runtime", "derive"] }
20+
schemars = { version = "1" }
21+
k8s-openapi = { version = "0.26", features = ["latest", "schemars"] }
2222
```
2323

2424
See [features](https://kube.rs/features/) for a quick overview of default-enabled / opt-in functionality. You can remove `schemars` parts if you do not need the `kube/derive` feature.
@@ -158,13 +158,13 @@ Uses [rustls](https://github.com/rustls/rustls) with `ring` provider (default) o
158158
To switch [rustls providers](https://docs.rs/rustls/latest/rustls/crypto/struct.CryptoProvider.html), turn off `default-features` and enable the `aws-lc-rs` feature:
159159

160160
```toml
161-
kube = { version = "1.1.0", default-features = false, features = ["client", "rustls-tls", "aws-lc-rs"] }
161+
kube = { version = "2.0.0", default-features = false, features = ["client", "rustls-tls", "aws-lc-rs"] }
162162
```
163163

164164
To switch to `openssl`, turn off `default-features`, and enable the `openssl-tls` feature:
165165

166166
```toml
167-
kube = { version = "1.1.0", default-features = false, features = ["client", "openssl-tls"] }
167+
kube = { version = "2.0.0", default-features = false, features = ["client", "openssl-tls"] }
168168
```
169169

170170
This will pull in `openssl` and `hyper-openssl`. If `default-features` is left enabled, you will pull in two TLS stacks, and the default will remain as `rustls`.

0 commit comments

Comments
 (0)