Skip to content

Releases: kubernetes-sigs/controller-runtime

v0.6.1

10 Jul 15:07
5118ae5
Compare
Choose a tag to compare

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

10 Jul 15:15
fef0490
Compare
Choose a tag to compare

This is a maintenance release with bug fixes backported from release-0.6.

✨ New Features

  • Update dependencies to Kubernetes v0.17.8

v0.5.7

22 Jun 16:10
22691a0
Compare
Choose a tag to compare

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

16 Jun 21:24
3e5a1d7
Compare
Choose a tag to compare

This is a maintenance release with bug fixes backported from release-0.6.

✨ New Features

  • Add ContainsFinalizer helper to the controllerutil (#922)

v0.5.5

01 Jun 14:25
5291db5
Compare
Choose a tag to compare

This is a maintenance release with bug fixes backported from release-0.6.

✨ New Features

  • Add Patch MergeFrom optimistic locking option (#973)

v0.5.4

22 May 18:53
c45adcf
Compare
Choose a tag to compare

This is a maintenance release with bug fixes backported from release-0.6.

✨ New Features

  • Controller: Let sources sync even if they use a different cluster (#960)

v0.5.3

20 May 23:12
f31eaf7
Compare
Choose a tag to compare

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

24 Apr 17:06
1c83ff6
Compare
Choose a tag to compare

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 using Update 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

26 Mar 14:25
67ee49a
Compare
Choose a tag to compare

v0.5.2

✨ New Features

  • Add helpers to configure logger options via pflags (#767)

🐛 Bug Fixes

  • fix conservative delay in rate limiter (#859)
  • expose DefaultKubeAPIServerFlags in envtest (#846) -- fixes an accidental breaking change in envtest

Thanks to all our contributors!

v0.5.1

10 Mar 23:21
525a2d7
Compare
Choose a tag to compare

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!