Skip to content

v0.6.4

Compare
Choose a tag to compare
@vincepri vincepri released this 20 Nov 17:09
· 4 commits to release-0.6 since this release
7fc9110

Changes since v0.6.3

✨ New Features

  • Support for metadata-only watches (#1248)

    ⚠️ If you're upgrading from v0.5.12 metadata only watch functionality has breaking changes, in particular the OnlyMetadata wrapper introduced in v0.5.12 is now deprecated.

    Migration example
    If one has a controller that reconciles Deployments and owns ReplicaSets and only watches their metadata, with v0.5.12 the controller can be created with something like the following:

    ControllerManagedBy(mgr).
    For(OnlyMetadata(&appsv1.Deployment{})).
    Owns(OnlyMetadata(&appsv1.ReplicaSet{})).

    With this release, the code must be changed as shown below:

    ControllerManagedBy(mgr).
    For(&appsv1.Deployment{}, OnlyMetadata).
    Owns(&appsv1.ReplicaSet{}, OnlyMetadata)

🐛 Bug Fixes

  • Ensure that webhook server is thread/start-safe (#1225)

Thanks to all our contributors! 😊