This repository has been archived by the owner on Aug 28, 2024. It is now read-only.
v0.12.0
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 theapiVersion
/kind
fields must be defined explicitly. SyncReconciler.Sync
is split intoSync
andSyncWithResult
that vary on the return arguments, same for theFinalize
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
- Bump sigs.k8s.io/controller-runtime from 0.15.0-alpha.0 to 0.15.0-alpha.1 by @dependabot in #372
- Bump k8s.io/client-go from 0.27.1 to 0.27.2 by @dependabot in #371
- Update controller-runtime to 0.15.0 by @scothis in #374
Full Changelog: v0.11.1...v0.12.0