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

Update kube-rs from 0.65.0 to 0.66.0 #295

Closed
wants to merge 2 commits into from
Closed

Conversation

soenkeliebau
Copy link
Member

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-derive

It 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-derive directly rather than via kube then you must now add the schema feature to kube-core

New StreamBackoff mechanism in kube-runtime

To avoid spamming the apiserver when on certain watch errors cases, it's now possible to stream wrap the watcher to set backoffs. The new default_backoff follows existing client-go conventions of being kind to the apiserver.

Initially, this is default-enabled in Controller watches (configurable via Controller::trigger_backoff) and avoids spam errors when crds are not installed.

New version priority parser in kube-core

To aid users picking the most appropriate version of a kind from api discovery or through a CRD, two new sort orders have been exposed on the new kube_core::Version

Changes

Merged PRs from github release.

Added

Changed

Signed-off-by: Sönke Liebau [email protected]

Description

Review Checklist

  • Code contains useful comments
  • (Integration-)Test cases added (or not applicable)
  • Documentation added (or not applicable)
  • Changelog updated (or not applicable)

Signed-off-by: Sönke Liebau <[email protected]>
Signed-off-by: Sönke Liebau <[email protected]>
@clux
Copy link

clux commented Jan 17, 2022

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 :-)

@soenkeliebau
Copy link
Member Author

Working of stale main branch, missed that this had already been done.

@soenkeliebau
Copy link
Member Author

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 :-)

That is indeed totally not what I wanted, sorry for missing that!

@maltesander maltesander deleted the feature/kubers-update branch February 7, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants