Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: update rust crate kube to 0.98 #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 21, 2022

This PR contains the following updates:

Package Type Update Change
kube dependencies minor 0.69 -> 0.98

Release Notes

kube-rs/kube (kube)

v0.98.0

Compare Source

===================

v0.97.0

Compare Source

===================

Highlights

  • CustomResource derive added features for crd yaml output:
  • Configuration edge cases:
    • Avoid double installations of aws-lc-rs (rustls crypto) provider #​1617
    • Kubeconfig fix for null user; #​1608
    • Default runtime watcher backoff alignment with client-go #​1603
  • Feature use:
    • Client proxy feature-set misuse prevention #​1626
    • Allow disabling gzip via Config #​1627
  • Depedency minors: thiserror, hashbrown, jsonptr, json-patch. Killed lazy_static / once_cell

What's Changed

Added
Changed
Fixed

v0.96.0

Compare Source

===================

Highlights

  • Features: webpki-roots added #​1323, and predicates no longer require unstable-runtime #​1578
  • Local auth: improve leniency/kubectl-alignment #​1595, remove http proxy vars #​1520
  • Dependencies: upgrades to tower and secrecy, and derivative swapped for educe

What's Changed

Added
Changed
Removed
Fixed

v0.95.0

Compare Source

===================

Kubernetes v1_31 support via k8s-openapi 0.23

Please upgrade k8s-openapi along with kube to avoid conflicts.

New minimum versions: MSRV 1.77.2, MK8SV: 1.26

What's Changed

Changed

v0.94.2

Compare Source

What's Changed

Fixes a runtime regression in watch_object.

Fixed
New Contributors

Full Changelog: kube-rs/kube@0.94.1...0.94.2

v0.94.1

Compare Source

===================

What's Changed

Convenience release. Adjusted a version bound to avoid possibility of running into version compatibility errors with hyper-rustls.

Fixed

v0.94.0

Compare Source

===================

Highlights

Support for rustls's aws-lc-rs is available under a new kube/aws-lc-rs feature. Via /~https://github.com/kube-rs/kube/pull/1568 for /~https://github.com/kube-rs/kube/issues/1562

Furthermore, there are improvements to partial typing:

  1. Added a DeserializeGuard safety wrapper to lift deserialisation errors (to e.g. not break watchers). See the errorbound example and core module module. Wrapped type be used with e.g. Api::<DeserializeGuard<CaConfigMap>>. Via /~https://github.com/kube-rs/kube/pull/1556
  2. A derive macro for Resource; #[derive(Resource)] allows inheriting existing k8s-openapi resource implementations to avoid stepping down to the dynamic api. See the cert check example for usage. Via /~https://github.com/kube-rs/kube/pull/1565

What's Changed

Added
Changed

v0.93.1

Compare Source

===================

What's Changed

Fixed

v0.93.0

Compare Source

===================

Highlights

Better query validation, better client header customisation, and two new modules:

  1. core::labels module for creating typed label selectors for ListParams or WatchParams. Can be constructed from a native LabelSelector, or directly from a Selector of Expressions. PR.
  2. prelude to simplify imports of extension traits. PR.

A big thank you to everyone who contributed to this release!

What's Changed

Added
Changed
Removed
Fixed

v0.92.1

Compare Source

===================

Bugfix Release

This release fixes #​1524; a regression from 0.92.0 causing watcher to skip pages on initial list. See #​1525.

It is recommended to upgrade from 0.92.0.

What's Changed

Fixed

v0.92.0

Compare Source

===================

Runtime: Decreased Memory Usage from watcher

Buffering of initial pages / init streams is no longer a mandatory process with watcher::Event gaining new Init, InitApply, and InitDone events. These events are read on the store side maintaining the atomicity/completeness guarantees for reflector and Store users.

This constitutes a significant memory decrease for all watcher users, and it has more details in a new kube.rs/blog post.

The downside is a breaking change to watcher::Event. Plain usage of watcher / reflector / Controller should generally not need to change anything, but custom stores / matches on watcher::Event will need an update. If you are writing custom stores, the new signals should be helpful for improved caching.

Thanks to @​fabriziosestito via Kubewarden for /~https://github.com/kube-rs/kube/pull/1494 . Follow-ups for this feature: /~https://github.com/kube-rs/kube/pull/1499 and /~https://github.com/kube-rs/kube/pull/1504.

Client: HTTP Proxy Support

Support is now introduced under the http-proxy feature pulling in hyper-http-proxy complementing the already existing socks5 proxy feature.

Thanks to @​aviramha via MetalBear for the support in /~https://github.com/kube-rs/kube/pull/1496, with follow-ups /~https://github.com/kube-rs/kube/pull/1501 + /~https://github.com/kube-rs/kube/pull/1502

What's Changed

Added
Changed
Fixed

v0.91.0

Compare Source

===================

Kubernetes v1_30 support via k8s-openapi 0.22

Please upgrade k8s-openapi along with kube to avoid conflicts.

Unstable Stream Sharing

A more complete implementation that allows sharing watcher streams between multiple Controllers (for /~https://github.com/kube-rs/kube/issues/1080) has been added under the unstable-runtime feature-flag in #​1449 and #​1483 by @​mateiidavid. This represents the first usable implementation of shared streams (and replaces the older prototype part in #​1470). While some changes are expected, you can check the shared_stream_controller example for a high-level overview.

What's Changed

Added
Changed
Removed
Fixed

v0.90.0

Compare Source

===================

Highlights

kube::client::Body Improvements
Dependency Cleanups

What's Changed

Added
Changed
Fixed

v0.89.0

Compare Source

Upgrading hyper and http to 1.0 and MSRV to 1.75.0

This release completes the hyper & http ecosystem upgrade #​1351 via #​1438. In particular, this change includes upgrades to http, http-body, tower-http, hyper, hyper-openssl, hyper-rustls, hyper-socks2, hyper-timeout, tame-oauth, tokio-tungstenite, tower-http, rustls, rustls-pemfile, as well as adopting the new hyper_util and http_body_util to make the change.

While this change constitutes significant internal churn (and a new kube::client::Body), our external api remains largely unchanged. Some minor changes are necessary for custom clients, and for integration testing using tower_mock. See the controller-rs upgrade pr or the examples folder in this commit for details.

What's Changed
Added
Changed
Fixed
New Contributors

Full Changelog: kube-rs/kube@0.88.1...0.89.0

v0.88.1

Compare Source

===================

What's Changed

This is a bug fix release for a deserialization issue introduced in 0.88.0.

Fixed

v0.88.0

Compare Source

===================

Kubernetes v1_29 support via k8s-openapi 0.21

Please upgrade k8s-openapi along with kube to avoid conflicts.

What's Changed

Added
Changed

v0.87.2

Compare Source

===================

What's Changed

Added
Changed

v0.87.1

Compare Source

===================

Headlines

  • fixed a Controller issue with reconciliation requests disappearing when using concurrency #​1324
  • improved Client with better exec auth behaviour #​1320, timeout control #​1314, and socks5 proxy handling #​1311
  • small changes to an unstable streams feature #​1304, and a a derive property that is now illegal with syn 2 #​1307

Big thanks to everyone involved 🎃

What's Changed

Added
Changed
Fixed

v0.86.0

Compare Source

Headlines
k8s-openapi 0.20 for Kubernetes v1_28

Please note upstream api removals.
As usual, upgrade k8s-openapi along with kube to avoid issues.

Default TLS stack changed to rustls

With last year's upstream changes from rustls (closing all our existing rustls issues - see /~https://github.com/kube-rs/kube/issues/1192), this is now the better choice for security, features, and ease of building. The previous default openssl stack can still be used with default-features = false plus the openssl-tls feature.

Controller Configuration

A controller Config has been added to allow tweaking two behaviour parameters (debouncing in #​1265 and concurrency limits in #​1277) of the Controller. Huge thanks to @​aryan9600 for his work.

Streaming Lists

The sendInitialEvents alpha feature is now supported, and is quickly testable in the pod_watcher example when using the feature gate. This will help optimise the memory profile of controllers when the feature becomes generally available. Amazing work by first time contributor @​casualjim.

What's Changed
Added
Changed
Fixed
New Contributors

Full Changelog: kube-rs/kube@0.85.0...0.86.0

v0.85.0

Compare Source

===================

What's Changed

Added
Changed
Fixed

v0.84.0

Compare Source

===================

Highlights

Stream Improvements

On the runtime side, the Controller now delays reconciles until the main Store is ready (via a new Store helper from #​1243). The stream selection for owned resources is more efficient (#​1240), and the underlying watcher streams now all paginate (#​1249). There are also many new WatchStreamExt helpers ( #​1246 + #​1228 + #​1232) as a continued work towards the more customisable streams-api (#​1080).

On the client-side; streaming logs are now easier to deal with as an AsyncBufRead #​1235.

OIDC Refresh

Optional OIDC refreshable token support was introduced in #​1229 under kube/oidc for out-of-cluster Client configuration. Previously, refresh support was limited to non-OIDC tokens from the GcpOuth provider (kube/oauth) or through arbitrary exec calls / TokenFile loading.

What's Changed

Added
Changed
Fixed

v0.83.0

Compare Source

===================

What's Changed

Added
Changed
Fixed

v0.82.2

Compare Source

===================

Watcher Fixes

Two fixes to allow watcher::Config to function as intended.

What's Changed

Fixed

v0.82.1

Compare Source

Bugfix Release

nullable is re-instated on Option types from CustomResource generated schemas, due to unintended errors removing it caused on Api::patch calls on None members that were not setting #[serde(skip_serializing_if = "Option::is_none")]. This only affected 0.81 and 0.82 from last week, and does not require user action regardless of where you are upgrading from.

This release also fixes a metadata_watcher triggering deserialization error from doing Api::list_metadata on an empty set.

What's Changed
Fixed
New Contributors

Full Changelog: kube-rs/kube@0.82.0...0.82.1

v0.82.0

Compare Source

===================

Dependency Updates

This release brings in the new k8s-openapi release.
Be sure to upgrade k8s-openapi and kube simultaneously to avoid multiple version errors:

cargo upgrade -p k8s-openapi -p kube -i

What's Changed

Changed

v0.81.0

Compare Source

Highlights
List/Watch Changes

One big change is the splitting of ListParams into ListParams and WatchParams in #​1162 and #​1171. If you were using api.list directly, this should not affect you, but api.watch calls will need a replace of ListParams to WatchParams. Apart from the resulting field splitting, the two structs still have a mostly compatible api.

If you were passing ListParams to watcher or Controller, you can change this for a new watcher::Config with a mostly compatible interface:

-    let stream = watcher(api, ListParams::default());
+    let stream = watcher(api, watcher::Config::default());

The reason for this change has been to add support for specific version match strategies and has new builders on both ListParams and watcher::Config to control the strategy. Using the new VersionMatch::NotOlderThan can reduce strain on the apiserver for individual api.list calls. Watchers will benefit the most from this, and should consider using the semantic Any strategy (= NotOlderThan with version "0") on all relists by setting watcher::Config::any_semantic().

rustls

This release closes all our rustls issues as a consequence of the long standing IP address incompatibility (#​153) having been resolved upstream. All rustls specific overrides (such as using the deprecated incluster_dns strategy for configuration #​1184) have been removed as a result.

Controller streams

Multiple new runtime features have been added to be able to more precisely control the input streams used by Controller a starting step towards stream sharing (#​1080) and as a way to reduce excess input events. Because these interfaces are likely to remain in flux for some time, these are only available under unstable feature flags.

What's Changed
Added
Changed
Fixed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/kube-0.x branch from d5b3201 to f3790a4 Compare April 12, 2022 22:58
@renovate renovate bot changed the title deps: update rust crate kube to 0.70 deps: update rust crate kube to 0.71 Apr 13, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch from f3790a4 to 20247ec Compare May 15, 2022 23:00
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 20247ec to 01326cb Compare June 18, 2022 13:55
@renovate renovate bot changed the title deps: update rust crate kube to 0.71 deps: update rust crate kube to 0.73 Jun 23, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 01326cb to a47eeda Compare September 25, 2022 22:03
@renovate renovate bot force-pushed the renovate/kube-0.x branch from a47eeda to 6ab6185 Compare November 20, 2022 20:57
@renovate renovate bot changed the title deps: update rust crate kube to 0.73 deps: update rust crate kube to 0.76 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 6ab6185 to 5c0ab92 Compare March 18, 2023 22:19
@renovate renovate bot changed the title deps: update rust crate kube to 0.76 deps: update rust crate kube to 0.80 Mar 18, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 5c0ab92 to 3749274 Compare May 29, 2023 22:01
@renovate renovate bot changed the title deps: update rust crate kube to 0.80 deps: update rust crate kube to 0.82 May 29, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 3749274 to 9637da0 Compare June 9, 2023 23:44
@renovate renovate bot changed the title deps: update rust crate kube to 0.82 deps: update rust crate kube to 0.83 Jun 9, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 9637da0 to 3ba0e9b Compare July 15, 2023 05:37
@renovate renovate bot changed the title deps: update rust crate kube to 0.83 deps: update rust crate kube to 0.84 Jul 15, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 3ba0e9b to 61fdb4e Compare August 7, 2023 05:20
@renovate renovate bot changed the title deps: update rust crate kube to 0.84 deps: update rust crate kube to 0.85 Aug 7, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 61fdb4e to 054e12d Compare September 9, 2023 23:44
@renovate renovate bot changed the title deps: update rust crate kube to 0.85 deps: update rust crate kube to 0.86 Sep 9, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 054e12d to db98e62 Compare November 2, 2023 05:39
@renovate renovate bot changed the title deps: update rust crate kube to 0.86 deps: update rust crate kube to 0.87 Nov 2, 2023
@renovate renovate bot force-pushed the renovate/kube-0.x branch from db98e62 to 09ffe1a Compare January 22, 2024 05:34
@renovate renovate bot changed the title deps: update rust crate kube to 0.87 deps: update rust crate kube to 0.88 Jan 22, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 09ffe1a to 933cff1 Compare March 27, 2024 05:56
@renovate renovate bot changed the title deps: update rust crate kube to 0.88 deps: update rust crate kube to 0.89 Mar 27, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 933cff1 to 5dc4bdb Compare April 5, 2024 17:52
@renovate renovate bot changed the title deps: update rust crate kube to 0.89 deps: update rust crate kube to 0.90 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 5dc4bdb to d3defd6 Compare May 7, 2024 23:43
@renovate renovate bot changed the title deps: update rust crate kube to 0.90 deps: update rust crate kube to 0.91 May 7, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from d3defd6 to dde9764 Compare June 14, 2024 02:56
@renovate renovate bot changed the title deps: update rust crate kube to 0.91 deps: update rust crate kube to 0.92 Jun 14, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from dde9764 to af76305 Compare July 24, 2024 08:54
@renovate renovate bot changed the title deps: update rust crate kube to 0.92 deps: update rust crate kube to 0.93 Jul 24, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from af76305 to 1d209d9 Compare September 10, 2024 03:01
@renovate renovate bot changed the title deps: update rust crate kube to 0.93 deps: update rust crate kube to 0.94 Sep 10, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 1d209d9 to 20aebbe Compare September 16, 2024 14:59
@renovate renovate bot changed the title deps: update rust crate kube to 0.94 deps: update rust crate kube to 0.95 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 20aebbe to ec1cf3d Compare October 10, 2024 02:24
@renovate renovate bot changed the title deps: update rust crate kube to 0.95 deps: update rust crate kube to 0.96 Oct 10, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from ec1cf3d to 862ce0d Compare November 22, 2024 05:39
@renovate renovate bot changed the title deps: update rust crate kube to 0.96 deps: update rust crate kube to 0.97 Nov 22, 2024
@renovate renovate bot force-pushed the renovate/kube-0.x branch from 862ce0d to d5cb5bc Compare December 23, 2024 20:50
@renovate renovate bot changed the title deps: update rust crate kube to 0.97 deps: update rust crate kube to 0.98 Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants