Skip to content

Commit

Permalink
Merge pull request #388 from clux/bump-openapi
Browse files Browse the repository at this point in the history
bump k8s-openapi to 0.11.0
  • Loading branch information
clux authored Jan 23, 2021
2 parents 27432aa + e124ee2 commit 5d9f65c
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
0.48.0 / 2021-01-XX
===================
* bump `k8s-openapi` to `0.11.0` - #388
* breaking: `kube`: no longer necessary to serialize patches yourself - #386
- `PatchParams` removes `PatchStrategy`
- `Api::patch*` methods now take an enum `Patch` type
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Select a version of `kube` along with the generated [k8s-openapi](https://github
[dependencies]
kube = "0.47.0"
kube-runtime = "0.47.0"
k8s-openapi = { version = "0.9.0", default-features = false, features = ["v1_17"] }
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_20"] }
```

[Features are available](https://github.com/clux/kube-rs/blob/master/kube/Cargo.toml#L18).
Expand Down Expand Up @@ -151,7 +151,7 @@ Kube has basic support ([with caveats](https://github.com/clux/kube-rs/issues?q=
[dependencies]
kube = { version = "0.47.0", default-features = false, features = ["rustls-tls"] }
kube-runtime = { version = "0.47.0", default-features = false, features = ["rustls-tls"] }
k8s-openapi = { version = "0.9.0", default-features = false, features = ["v1_17"] }
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_20"] }
```

This will pull in the variant of `reqwest` that also uses its `rustls-tls` feature.
Expand Down
2 changes: 1 addition & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ futures = "0.3.8"
kube = { path = "../kube", version = "^0.47.0", default-features = false }
kube-derive = { path = "../kube-derive", version = "^0.47.0", default-features = false } # only needed to opt out of schema
kube-runtime = { path = "../kube-runtime", version = "^0.47.0", default-features = false }
k8s-openapi = { version = "0.10.0", features = ["v1_19"], default-features = false }
k8s-openapi = { version = "0.11.0", features = ["v1_19"], default-features = false }
log = "0.4.11"
serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61"
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ schema = []
[dev-dependencies]
serde = { version = "1.0.118", features = ["derive"] }
serde_yaml = "0.8.14"
k8s-openapi = { version = "0.10.0", default-features = false, features = ["v1_19"] }
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_19"] }
schemars = { version = "0.8.0", features = ["chrono"] }
chrono = "0.4.19"
4 changes: 2 additions & 2 deletions kube-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dashmap = "4.0.1"
tokio-util = { version = "0.6.0", features = ["time"] }

[dependencies.k8s-openapi]
version = "0.10.0"
version = "0.11.0"
default-features = false

[features]
Expand All @@ -41,6 +41,6 @@ rand = "0.8.0"
schemars = "0.8.0"

[dev-dependencies.k8s-openapi]
version = "0.10.0"
version = "0.11.0"
default-features = false
features = ["v1_19"]
4 changes: 2 additions & 2 deletions kube/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ default-features = false
features = ["json", "gzip", "stream"]

[dependencies.k8s-openapi]
version = "0.10.0"
version = "0.11.0"
default-features = false
features = []

Expand All @@ -83,6 +83,6 @@ tokio = { version = "1.0.1", features = ["full"] }
schemars = "0.8.0"

[dev-dependencies.k8s-openapi]
version = "0.10.0"
version = "0.11.0"
default-features = false
features = ["v1_19"]
2 changes: 1 addition & 1 deletion tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ anyhow = "1.0.37"
env_logger = "0.8.2"
futures = "0.3.8"
kube = { path = "../kube", version = "^0.47.0"}
k8s-openapi = { version = "0.10.0", features = ["v1_19"], default-features = false }
k8s-openapi = { version = "0.11.0", features = ["v1_19"], default-features = false }
log = "0.4.11"
serde_json = "1.0.61"
tokio = { version = "1.0.1", features = ["full"] }

0 comments on commit 5d9f65c

Please sign in to comment.