Skip to content

v0.6.0

Compare
Choose a tag to compare
@vincepri vincepri released this 24 Apr 17:06
· 121 commits to release-0.6 since this release
1c83ff6

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!