Releases: kubernetes-sigs/controller-runtime
Releases · kubernetes-sigs/controller-runtime
v0.6.1
Changes since v0.6.0
✨ New Features
- Add webhook total and in-flight metrics (#944)
- Add Patch MergeFrom optimistic locking option (#969)
- Migrate controllerutil AddFinalizer and RemoveFinalizer to controllerutil.Object and deprecate *WithError functions (#962)
- Add ContainsFinalizer helper to the controllerutil (#922)
- Introduce controllerutil.Object interface (#898)
- Controller: Let sources sync even if they use a different cluster (#941)
- Manager: Export defaultNewClient (#930)
🐛 Bug Fixes
- Fix webhook example (#1016)
- Always shutdown etcd when stopping envtest (#975)
- fix(dependency) Use github.com/fsnotify/fsnotify (#968)
- Fix scheme used by
DeleteAllOf
in fake client (#954) - Reset resource version if fake client Create call failed (#919)
- cannot specify ControlPlane in envtest.Environment (#929)
📖 Documentation
- Nit: improve doc string (#987)
- provide example of client.Patch (#951)
- Prevent errors to be logged multiple times in builtins example (#953)
🌱 Others
- Update json-patch dependency to e83c0a1c26c8 (#985)
- Clarify log line in apiutil.GVKForObject (#1008)
- Cleanup controller internal logger (#1003)
- Move pwittrock from emeritus approvers to approvers (#997)
- Remove unused attributes from controller (#940)
- Remove unsed Config attribute from controller (#938)
- [0.6] Update go.mod dependencies patch versions (v0.18.4) (#1010)
Thanks to all our contributors! 😊
v0.5.8
v0.5.7
This is a maintenance release with bug fixes backported from release-0.6
.
Changes since v0.5.6
🐛 Bug Fixes
- Cannot specify ControlPlane in envtest.Environment (#1002)
- Always shutdown etcd when stopping envtest (#975)
🌱 Others
- Update go.mod dependencies patch versions (v0.17.7) (#1009)
- Cleanup controller internal logger (#1003)
- Update json-patch dependency to e83c0a1c26c8 (#985)
- Clarify log line in apiutil.GVKForObject (#1008)
- Nit: improve doc string (#987)
Thanks to all our contributors! 😊
v0.5.6
v0.5.5
v0.5.4
v0.5.3
This is a maintenance release with bug fixes backported from release-0.6
.
✨ New Features
- Introduce
controllerutil.Object
interface (#898)
🐛 Bug Fixes
controllerutil.RemoveFinalizer
can occurs slice bounds out of range exception (#917)- Fix swapped constant value in webhook envtest (#913)
- Fix CRD filtering in envtest package (#902)
- KubeAwareEncoder should handle unstructured object correctly (#881)
- Return original error from GetConfig (#888)
- MatchingLabels: Make sure requests with invalid labels fail (#882)
- Fix version check when reading webhooks from file (#861)
- Fix scheme used by
DeleteAllOf
in the fake client.
v0.6.0
v0.6.0
⚠️ Breaking Changes
- Update Informers interface to accept context (#830) — Impact: if you're using Informers methods directly, you'll need to pass a
context.Context
as first argument. - Add predicates as variadic args for Owns, For, and Watches func (#799) — Impact: The methods signature have changed, now allow to pass in Options as variadic arguments.
- Envtest: Do not disable admission plugins by default (#848) — Impact: Tests using envtest might fail if an admission plugin rejects the action, users might need to change tests accordingly.
- Fakeclient: Reject Update with outdated ResourceVersion (#832) — Impact: Tests using an outdated
ResourceVersion
when usingUpdate
will now fail; this is expected behavior. - Fakeclient: Reject Create and Update if Name isn't provided (#886) — Impact: Tests issuing Create/Update calls without a
Name
will now fail; this is expected behavior. - log/zap options Level and StacktraceLevel type (#906)
✨ New Features
- Add DryRunClient wrapper (#839)
- Allow controllers to be started and stopped separately from the manager (#863)
- Expose metrics http server for extra endpoints (#824)
🐛 Bug Fixes
controllerutil.RemoveFinalizer
can occurs slice bounds out of range exception (#917)- Fix swapped constant value in webhook envtest (#913)
- Ensure KUBECONFIG is unset when testing GetConfigWithContext (#909)
- Fix CRD filtering in envtest package (#902)
- KubeAwareEncoder should handle unstructured object correctly (#881)
- Return original error from GetConfig (#888)
- MatchingLabels: Make sure requests with invalid labels fail (#882)
- Fix version check when reading webhooks from file (#861)
Thanks to all our contributors!
v0.5.2
v0.5.1
v0.5.1
✨ New Features
- Add controllerutil.SetOwnerReference (#816, #844)
- Take context when getting informer. (#663)
- Support restconfig to target the control plane (#756)
- Create a supported way of setting a cache on source.Kind (#794)
- Webhook support in envtest (#787)
- Enable webhook server set-up mTLS service to verify client's certificate (#802)
- Make workqueue rate limiter configurable during controller creation (#731)
🐛 Bug Fixes
- Fix testdata imports in pkg/webhook/conversion (#843)
- Respect context in unstructured client (#812)
- Fix informer cache creating pointers to pointers (#796)
- Use GenerateName during fake client's Create method (#815)
Thanks to all our contributors!