Update kube-rs from 0.65.0 to 0.66.0 - #295
Closed
soenkeliebau wants to merge 2 commits into
Closed
Conversation
Signed-off-by: Sönke Liebau <soenke.liebau@stackable.de>
Signed-off-by: Sönke Liebau <soenke.liebau@stackable.de>
|
FYI inlining the release docs like this pings all the contributors this release after we started highlighting them in the changelog. might not be what you want :-) |
Member
Author
|
Working of stale main branch, missed that this had already been done. |
Member
Author
That is indeed totally not what I wanted, sorry for missing that! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update kube-rs dependency
Changelog 0.66.0 / 2022-01-15
Tons of ergonomics improvements, and 3 new contributors.
Highlighted first is the 3 most discussed changes:
Support for auto-generating schemas for enums in
kube-deriveIt is now possible to embed complex enums inside structs that use
#[derive(CustomResource)].This has been a highly requested feature since the inception of auto-generated schemas. It does not work for all cases, and has certain ergonomics caveats, but represents a huge step forwards.
Note that if you depend on
kube-derivedirectly rather than viakubethen you must now add theschemafeature tokube-coreNew
StreamBackoffmechanism inkube-runtimeTo avoid spamming the apiserver when on certain watch errors cases, it's now possible to stream wrap the
watcherto set backoffs. The newdefault_backofffollows existingclient-goconventions of being kind to the apiserver.Initially, this is default-enabled in
Controllerwatches (configurable viaController::trigger_backoff) and avoids spam errors when crds are not installed.New version priority parser in
kube-coreTo aid users picking the most appropriate version of a
kindfrom api discovery or through a CRD, two new sort orders have been exposed on the newkube_core::VersionVersion::priorityimplementing kubernetes version priorityVersion::generationimplementing a more traditional; generational sort (highest version)Changes
Merged PRs from github release.
Added
DeleteParamsconstructors for easily settingPropagationPolicyby @kate-goldenring in AddDeleteParamsconstructors for easily settingPropagationPolicykube-rs/kube#757Changed
identity_pemfield fromConfigby @kazk in Remove crate privateidentity_pemfield fromConfigkube-rs/kube#771Signed-off-by: Sönke Liebau soenke.liebau@stackable.de
Description
Review Checklist