This repository was archived by the owner on Sep 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update rust crate kube to 0.95.0 #29
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/kube-0.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
5191408 to
3f9378d
Compare
3f9378d to
c077ad4
Compare
bd0ada3 to
023e815
Compare
023e815 to
44724a0
Compare
8dd2933 to
486a7cb
Compare
486a7cb to
a5619f2
Compare
1d26f37 to
a5faa3b
Compare
cd7f169 to
bb4f945
Compare
3e9e81b to
f5a1177
Compare
a80cac6 to
610a18d
Compare
cf45cb9 to
e5d61a4
Compare
e5d61a4 to
165b27d
Compare
96e9cc9 to
f24717d
Compare
f24717d to
be9eb3b
Compare
be9eb3b to
1dbd776
Compare
631c2ac to
3ec2ba4
Compare
f37285d to
87916f8
Compare
4777e86 to
5ce0ee3
Compare
6b217a9 to
64a72c5
Compare
64a72c5 to
89adbf8
Compare
92f2c39 to
bb1ac4c
Compare
bb1ac4c to
7f09585
Compare
7f09585 to
96883c0
Compare
96883c0 to
c328b8d
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
0.72.0->0.95.0Release Notes
kube-rs/kube (kube)
v0.95.0Compare Source
===================
Kubernetes
v1_31support viak8s-openapi0.23Please upgrade k8s-openapi along with kube to avoid conflicts.
New minimum versions: MSRV 1.77.2, MK8SV: 1.26
What's Changed
Changed
k8s-openapito 0.23 for Kubernetes 1.31 support by @clux in https://github.com/kube-rs/kube/pull/1581v0.94.2Compare Source
What's Changed
Fixes a runtime regression in
watch_object.Fixed
watch_objecthandles objects removed before init by @markdingram in https://github.com/kube-rs/kube/pull/1577New Contributors
Full Changelog: kube-rs/kube@0.94.1...0.94.2
v0.94.1Compare 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.0Compare Source
===================
Highlights
Support for
rustls's aws-lc-rs is available under a newkube/aws-lc-rsfeature. Via https://github.com/kube-rs/kube/pull/1568 for https://github.com/kube-rs/kube/issues/1562Furthermore, there are improvements to partial typing:
DeserializeGuardsafety 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/1556Resource;#[derive(Resource)]allows inheriting existingk8s-openapiresource implementations to avoid stepping down to the dynamic api. See the cert check example for usage. Via https://github.com/kube-rs/kube/pull/1565What's Changed
Added
aws-lc-rsrustls feature by @mcluseau in https://github.com/kube-rs/kube/pull/1568Resourcederive macro by @Danil-Grigorev in https://github.com/kube-rs/kube/pull/1565Changed
v0.93.1Compare Source
===================
What's Changed
Fixed
v0.93.0Compare Source
===================
Highlights
Better query validation, better client header customisation, and two new modules:
core::labelsmodule for creating typed label selectors forListParamsorWatchParams. Can be constructed from a nativeLabelSelector, or directly from aSelectorofExpressions. PR.preludeto 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.1Compare Source
===================
Bugfix Release
This release fixes #1524; a regression from 0.92.0 causing
watcherto skip pages on initial list. See #1525.It is recommended to upgrade from 0.92.0.
What's Changed
Fixed
v0.92.0Compare Source
===================
Runtime: Decreased Memory Usage from
watcherBuffering of initial pages / init streams is no longer a mandatory process with
watcher::Eventgaining newInit,InitApply, andInitDoneevents. These events are read on the store side maintaining the atomicity/completeness guarantees forreflectorandStoreusers.This constitutes a significant memory decrease for all
watcherusers, and it has more details in a new kube.rs/blog post.The downside is a breaking change to
watcher::Event. Plain usage ofwatcher/reflector/Controllershould generally not need to change anything, but custom stores / matches onwatcher::Eventwill 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-proxyfeature pulling in hyper-http-proxy complementing the already existingsocks5proxy 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
tokio-tungsteniteto 0.23 by @Toasterson in https://github.com/kube-rs/kube/pull/1509watcher::Eventinit/page variants by @clux in https://github.com/kube-rs/kube/pull/1504Fixed
hyper-proxy2tohyper-http-proxyby @aviramha in https://github.com/kube-rs/kube/pull/1502v0.91.0Compare Source
===================
Kubernetes
v1_30support viak8s-openapi0.22Please upgrade k8s-openapi along with kube to avoid conflicts.
Unstable Stream Sharing
A more complete implementation that allows sharing
watcherstreams between multipleControllers (for https://github.com/kube-rs/kube/issues/1080) has been added under theunstable-runtimefeature-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
k8s-openapito 0.22 and bump MK8SV to 1.25 by @clux in https://github.com/kube-rs/kube/pull/1485Removed
StreamSubscribeimplementation by @clux in https://github.com/kube-rs/kube/pull/1470Fixed
uniqueItemsproperty from CRDs when Sets are used by @sbernauer in https://github.com/kube-rs/kube/pull/1484v0.90.0Compare Source
===================
Highlights
kube::client::BodyImprovementssize_hintandis_end_streamimplemented in #1452 + internal cleanups #1453 and #1455Dependency Cleanups
rustlsto 0.23 in #1457once_cellremoved in #1447 (no longer needed)futuresfeature prune in #1442chronofeatures prune in #1448, and bump its min version pin in #1458What's Changed
Added
Body::collect_bytesfor easier unit tests by @clux in https://github.com/kube-rs/kube/pull/1445Changed
rustls0.23 by @tottoto in https://github.com/kube-rs/kube/pull/1457Fixed
futuresfeature by @tottoto in https://github.com/kube-rs/kube/pull/1442Body::emptyfor easier tests by @clux in https://github.com/kube-rs/kube/pull/1444once_cellLazy with ordinary static by @tottoto in https://github.com/kube-rs/kube/pull/1447chronofeatureclockwithnowby @tottoto in https://github.com/kube-rs/kube/pull/1448http_bodytrait method by @tottoto in https://github.com/kube-rs/kube/pull/1452chronoversion by @clux in https://github.com/kube-rs/kube/pull/1458v0.89.0Compare Source
Upgrading
hyperandhttpto 1.0 and MSRV to1.75.0This 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 newhyper_utilandhttp_body_utilto 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 usingtower_mock. See the controller-rs upgrade pr or the examples folder in this commit for details.What's Changed
Added
Client::getandClient::listby @clux in https://github.com/kube-rs/kube/pull/1375Changed
1.75.0by @clux in https://github.com/kube-rs/kube/pull/1408reflectorto only request identifying metadata by @SOF3 in https://github.com/kube-rs/kube/pull/1393jsonpath-rustto 0.5.0 by @clux in https://github.com/kube-rs/kube/pull/1429Fixed
Kubeconfigallowcertificate_authority_datanot present inExecAuthClusterby @ljun20160606 in https://github.com/kube-rs/kube/pull/1432Client::request_streamby @XciD in https://github.com/kube-rs/kube/pull/1433New Contributors
Full Changelog: kube-rs/kube@0.88.1...0.89.0
v0.88.1Compare Source
===================
What's Changed
This is a bug fix release for a deserialization issue introduced in 0.88.0.
Fixed
ObjectListby @flavio in https://github.com/kube-rs/kube/pull/1398v0.88.0Compare Source
===================
Kubernetes
v1_29support viak8s-openapi0.21Please upgrade k8s-openapi along with kube to avoid conflicts.
What's Changed
Added
Changed
k8s-openapifor Kubernetesv1_29support by @clux in https://github.com/kube-rs/kube/pull/1394v0.87.2Compare Source
===================
What's Changed
Added
LogParams::since_timeby @clux in https://github.com/kube-rs/kube/pull/1342Changed
jsonpath_libtojsonpath-rustby @ilya-bobyr in https://github.com/kube-rs/kube/pull/1345v0.87.1Compare Source
===================
Headlines
Controllerissue with reconciliation requests disappearing when usingconcurrency#1324Clientwith better exec auth behaviour #1320, timeout control #1314, and socks5 proxy handling #1311syn2 #1307Big thanks to everyone involved 🎃
What's Changed
Added
socks5proxy inClientby @Razz4780 in https://github.com/kube-rs/kube/pull/1311Changed
Controller::reconcile_onand removeErrinput requirement by @clux in https://github.com/kube-rs/kube/pull/1304base64to0.21by @clux in https://github.com/kube-rs/kube/pull/1308darlingandsynand rename#[kube(struct)]by @clux in https://github.com/kube-rs/kube/pull/1307Fixed
KUBERNETES_EXEC_INFOenvironment variable passed to auth plugins by @Razz4780 in https://github.com/kube-rs/kube/pull/1320Controller: pending messages are stuck in thescheduledmap by @co42 in https://github.com/kube-rs/kube/pull/1324v0.86.0Compare Source
Headlines
k8s-openapi 0.20 for Kubernetes
v1_28Please note upstream api removals.
As usual, upgrade k8s-openapi along with kube to avoid issues.
Default TLS stack changed to
rustlsWith 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 = falseplus theopenssl-tlsfeature.Controller Configuration
A controller
Confighas been added to allow tweaking two behaviour parameters (debouncing in #1265 and concurrency limits in #1277) of theController. Huge thanks to @aryan9600 for his work.Streaming Lists
The
sendInitialEventsalpha 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
controller::Configand debounce period to scheduler by @aryan9600 in https://github.com/kube-rs/kube/pull/1265Changed
rustls-tlsby @clux in https://github.com/kube-rs/kube/pull/1261Fixed
core: omit invalid resource version parameters when doing paged requests by @goenning in https://github.com/kube-rs/kube/pull/1281New Contributors
Full Changelog: kube-rs/kube@0.85.0...0.86.0
v0.85.0Compare Source
===================
What's Changed
Added
WatchStreamExt::reflectto allow chaining on a reflector by @clux in https://github.com/kube-rs/kube/pull/1252Changed
dirs-nextdependency to cargo-team maintainedhomecrate by @utkarshgupta137 in https://github.com/kube-rs/kube/pull/1207k8s-openapito0.19.0forv1_27support by @clux in https://github.com/kube-rs/kube/pull/1271Fixed
watcher: returnNoResourceVersionerror if resource version is empty by @aryan9600 in https://github.com/kube-rs/kube/pull/1259schedulermessage when preponing by @nightkr in https://github.com/kube-rs/kube/pull/1260v0.84.0Compare Source
===================
Highlights
Stream Improvements
On the
runtimeside, theControllernow delays reconciles until the mainStoreis ready (via a newStorehelper from #1243). The stream selection for owned resources is more efficient (#1240), and the underlyingwatcherstreams now all paginate (#1249). There are also many newWatchStreamExthelpers ( #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/oidcfor out-of-clusterClientconfiguration. Previously, refresh support was limited to non-OIDC tokens from theGcpOuthprovider (kube/oauth) or through arbitraryexeccalls /TokenFileloading.What's Changed
Added
Predicatetrait to allow combination + fallbacks by @clux in https://github.com/kube-rs/kube/pull/1228WatchStreamExt::default_backoffshorthand by @clux in https://github.com/kube-rs/kube/pull/1232PartialEqoncoreparams structs by @danrspencer in https://github.com/kube-rs/kube/pull/1237WatchStreamExt::modify()to modify events by @aryan9600 in https://github.com/kube-rs/kube/pull/1246watcherby @clux in https://github.com/kube-rs/kube/pull/1249Changed
Api::log_streamto returnAsyncBufReadby @aryan9600 in https://github.com/kube-rs/kube/pull/1235Fixed
Controller::ownsusemetadata_watcherinternally by @clux in https://github.com/kube-rs/kube/pull/1240v0.83.0Compare Source
===================
What's Changed
Added
Controller::reconcile_onby @co42 in https://github.com/kube-rs/kube/pull/1163predicates::resource_versionby @clux in https://github.com/kube-rs/kube/pull/1221Durationtokube-coreby @hawkw in https://github.com/kube-rs/kube/pull/1224Changed
GetParamssupport by @mateiidavid in https://github.com/kube-rs/kube/pull/1214Fixed
validatorforgardeby @mateiidavid in https://github.com/kube-rs/kube/pull/1212#[kube(crates(serde = "some_crate::serde"))]was not working by @chubei in https://github.com/kube-rs/kube/pull/1215v0.82.2Compare Source
===================
Watcher Fixes
Two fixes to allow
watcher::Configto function as intended.What's Changed
Fixed
runtime::watcher: only set rv if semantic is any by @goenning in https://github.com/kube-rs/kube/pull/1204watcher::Config: DeriveClone+Debug+PartialEqby @clux in https://github.com/kube-rs/kube/pull/1206v0.82.1Compare Source
Bugfix Release
nullableis re-instated onOptiontypes fromCustomResourcegenerated schemas, due to unintended errors removing it caused onApi::patchcalls onNonemembers 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_watchertriggering deserialization error from doingApi::list_metadataon an empty set.What's Changed
Fixed
WatchParamsbookmarks forwatch_metadataby @clux in https://github.com/kube-rs/kube/pull/1193ObjectListnot deserializingitems: nullby @suryapandian in https://github.com/kube-rs/kube/pull/1199option_nullablefor CRD generation" by @Dav1dde in https://github.com/kube-rs/kube/pull/1201New Contributors
Full Changelog: kube-rs/kube@0.82.0...0.82.1
v0.82.0Compare Source
===================
Dependency Updates
This release brings in the new
k8s-openapirelease.Be sure to upgrade
k8s-openapiandkubesimultaneously to avoid multiple version errors:What's Changed
Changed
serde_yamlto 0.9 by @clux in https://github.com/kube-rs/kube/pull/1188k8s-openapito 0.18.0 by @clux in https://github.com/kube-rs/kube/pull/1190v0.81.0Compare Source
Highlights
List/Watch Changes
One big change is the splitting of
ListParamsintoListParamsandWatchParamsin #1162 and #1171. If you were usingapi.listdirectly, this should not affect you, butapi.watchcalls will need a replace ofListParamstoWatchParams. Apart from the resulting field splitting, the two structs still have a mostly compatible api.If you were passing
ListParamstowatcherorController, you can change this for a newwatcher::Configwith a mostly compatible interface:The reason for this change has been to add support for specific version match strategies and has new builders on both
ListParamsandwatcher::Configto control the strategy. Using the newVersionMatch::NotOlderThancan reduce strain on the apiserver for individualapi.listcalls. Watchers will benefit the most from this, and should consider using the semanticAnystrategy (=NotOlderThanwith version "0") on all relists by settingwatcher::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
rustlsspecific overrides (such as using the deprecatedincluster_dnsstrategy for configuration #1184) have been removed as a result.Controller streams
Multiple new
runtimefeatures have been added to be able to more precisely control the input streams used byControllera 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
predicatesto allow filteringwatcherstreams by @clux in https://github.com/kube-rs/kube/pull/911Controller::owns_streamby @Dav1dde in https://github.com/kube-rs/kube/pull/1173Controller::for_stream+Controller::watches_streamby @clux in https://github.com/kube-rs/kube/pull/1187Changed
ListParamsandWatchParamsby @nabokihms in https://github.com/kube-rs/kube/pull/1162VersionMatchfollow upstream + configure list semantics inwatcher::Configby @clux in https://github.com/kube-rs/kube/pull/1171option_nullablefor CRD generation by @Dav1dde in https://github.com/kube-rs/kube/pull/1079Fixed
rustlsCI against IP cluster address by @clux in https://github.com/kube-rs/kube/pull/1183Config::inclusterbehavior forrustlsby @clux in https://github.com/kube-rs/kube/pull/1184New Contributors
Full Changelog: kube-rs/kube@0.80.0...0.81.0
v0.80.0Compare Source
===================
Notes
The
PartialObjectMetastruct has been changed to allow static dispatch through a new generic parameter. It comes with a newPartialObjectMetaExttrait to help construct it.Early release for the above change to the new metadata api, plus a trigger for our currently broken docs.rs.
What's Changed
Changed
PartialObjectMetaover the underlyingResourceby @clux in https://github.com/kube-rs/kube/pull/1152Fixed
v0.79.0Compare Source
Watch Improvements
A big feature this time around is the added support for the metadata api via #1137. This is a variant api that only returns the
ObjectMetaandTypeMetato reduce network load, and has a low-level watch analogue available atApi::watch_metadata. Most users will generally want an infinite watch stream rather than the low-level method, sokube::runtime::metadata_watcherhas been added as a direct analogue ofwatchervia #1145. The dynamic_watcher example shows how to switch between the two to get up and running.The
watcheralso emits warnings now when HTTP403s are encountered from Kubernetes, as this usually indicates a non-transient misconfiguration that must be fixed on the administrator side with RBAC.Finally, there is work in progress on shared streams via
WatchStreamExtfrom #1131 under an unstable feature.What's Changed
Added
default_namespace()by @jpmcb in https://github.com/kube-rs/kube/pull/1123WatchStreamExt::subscribeby @danrspencer in https://github.com/kube-rs/kube/pull/1131Changed
Fixed
Config: make cluster/users/clusters optional by @goenning in https://github.com/kube-rs/kube/pull/1120New Contributors
Full Changelog: kube-rs/kube@0.78.0...0.79.0
v0.78.0Compare Source
===================
Kubernetes Bump
This release brings in the new
k8s-openapirelease for1.26structs, and sets our MK8SV to1.21.Be sure to upgrade
k8s-openapiandkubesimultaneously to avoid multiple version errors:What's Changed
Added
Storeby @eliad-wiz in https://github.com/kube-rs/kube/pull/1111Changed
[email protected]and MK8SV by @clux in https://github.com/kube-rs/kube/pull/1116Removed
Config::timeoutby @clux in https://github.com/kube-rs/kube/pull/1113Fixed
[
v0.77.0](httConfiguration
📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.