v0.6.4
Changes since v0.6.3
✨ New Features
-
Support for metadata-only watches (#1248)
⚠️ If you're upgrading fromv0.5.12
metadata only watch functionality has breaking changes, in particular theOnlyMetadata
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! 😊