Skip to content

0.70.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Mar 08:48

Highlights

Support for EC keys with rustls

This was one of the big blockers for using rustls against clusters like k3d or k3s
While not sufficient to fix using those clusters out of the box, it is now possible to use them with a workarodund

More ergonomic reconciler

The signature and end the Ok action in reconcile fns has been simplified slightly, and requires the following user updates:

-async fn reconcile(obj: Arc<MyObject>, ctx: Context<Data>) -> Result<ReconcilerAction, Error> {
-    ...
-    Ok(ReconcilerAction {
-        requeue_after: Some(Duration::from_secs(300)),
-    })
+async fn reconcile(obj: Arc<MyObject>, ctx: Context<Data>) -> Result<Action, Error> {
+    ...
+    Ok(Action::requeue(Duration::from_secs(300)))

The Action import lives in the same place as the old ReconcilerAction.

What's Changed

Added

  • Add support for EC private keys by @farcaller in #804
  • Add helper for creating a controller owner_ref on Resource by @clux in #850

Changed

  • Remove scheduler::Error by @teozkr in #827
  • Bump parking_lot to 0.12, but allow dep duplicates by @clux in #836
  • Update tokio-tungstenite requirement from 0.16.1 to 0.17.1 by @dependabot in #841
  • Let OccupiedEntry::commit take PostParams by @teozkr in #842
  • Change ReconcileAction to Action and add associated ctors by @clux in #851

Fixed

  • Fix deadlock in token reloading by @clux in #830 - also in 0.69.1
  • Token reloading with RwLock by @kazk in #835
  • Fix event publishing for cluster scoped crds by @zhrebicek in #847
  • Fix invalid CRD when Enum variants have descriptions by @sbernauer in #852

New Contributors

Full Changelog: 0.69.0...0.70.0