Skip to content

v0.12.0-alpha.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@scothis scothis released this 15 May 14:24
· 85 commits to main since this release
8d2cd3b

This is a pre-release to track controller-runtime's v0.15.0-alpha.0 tag. There will be additional changes before the 0.12 reconciler-runtime release.

Breaking Changes

There are a lot of minor breaking changes that accumulate in this release.

  • all previously deprecated APIs have been removed
  • breaking changes introduced upstream in K8s 1.27 and controller-runtime 0.15 are present
  • generics are used to make reconcilers type-safe and eliminate reflection for method fields. The type fields are now optional unless the generic type is unstructured, in which case the apiVersion/kind data must be defined explicitly.
  • SyncReconciler.Sync is split into Sync and SyncWithResult that vary on the return arguments, same for the Finalize method.
  • ChildReconciler.ReflectChildStatusOnParent now requires a context
  • the Tracker has a wholly new interface and now supports tracking by label selector. Indirect use of the tracker preserves compatibility.

What's Changed

  • Bump golang.org/x/net from 0.3.1-0.20221206200815-1e63c2f08a10 to 0.7.0 by @dependabot in #338
  • Bump sigs.k8s.io/controller-runtime from 0.14.4 to 0.14.5 by @dependabot in #342
  • Bump k8s.io/api from 0.26.1 to 0.26.2 by @dependabot in #341
  • Bump golang.org/x/net from 0.7.0 to 0.8.0 by @dependabot in #343
  • Bump actions/setup-go from 3 to 4 by @dependabot in #344
  • Bump k8s.io/client-go from 0.26.2 to 0.26.3 by @dependabot in #345
  • Bump sigs.k8s.io/controller-runtime from 0.14.5 to 0.14.6 by @dependabot in #348
  • Apply go 1.18 generics across reconciler-runtime by @scothis in #349
  • Bump golang.org/x/net from 0.8.0 to 0.9.0 by @dependabot in #350
  • Allow ResourceReconciler to skip status updates by @scothis in #360
  • Restore support in ChildReconciler for unstructured resources by @scothis in #362
  • Allow ChildReconciler to stash in ReflectChildStatusOnParent by @scothis in #363
  • Bump sigs.k8s.io/controller-tools from 0.11.3 to 0.11.4 in /hack by @dependabot in #361
  • Use CI to assert no drift in generated files by @scothis in #364
  • Clarify doc for ChildReconciler#ReflectChildStatusOnParent by @scothis in #365
  • Bump sigs.k8s.io/controller-tools from 0.11.4 to 0.12.0 in /hack by @dependabot in #366
  • Bump golang.org/x/net from 0.9.0 to 0.10.0 by @dependabot in #368
  • Track resources with a label selector by @scothis in #367
  • Track controller-runtime 0.15 development by @scothis in #356

Full Changelog: v0.11.1...v0.12.0-alpha.0