kubernetes-sigs/controller-runtime
### [`v0.6.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/v0.6.4)
[Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.6.3...v0.6.4)
## Changes since v0.6.3
#### :sparkles: New Features
- Support for metadata-only watches ([#1248](https://togithub.com/kubernetes-sigs/controller-runtime/issues/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:
```go
ControllerManagedBy(mgr).
For(OnlyMetadata(&appsv1.Deployment{})).
Owns(OnlyMetadata(&appsv1.ReplicaSet{})).
```
With this release, the code must be changed as shown below:
```go
ControllerManagedBy(mgr).
For(&appsv1.Deployment{}, OnlyMetadata).
Owns(&appsv1.ReplicaSet{}, OnlyMetadata)
```
#### :bug: Bug Fixes
- Ensure that webhook server is thread/start-safe ([#1225](https://togithub.com/kubernetes-sigs/controller-runtime/issues/1225))
_Thanks to all our contributors!_ 😊
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
v0.6.3
->v0.6.4
Release Notes
kubernetes-sigs/controller-runtime
### [`v0.6.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/v0.6.4) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.6.3...v0.6.4) ## Changes since v0.6.3 #### :sparkles: New Features - Support for metadata-only watches ([#1248](https://togithub.com/kubernetes-sigs/controller-runtime/issues/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: ```go ControllerManagedBy(mgr). For(OnlyMetadata(&appsv1.Deployment{})). Owns(OnlyMetadata(&appsv1.ReplicaSet{})). ``` With this release, the code must be changed as shown below: ```go ControllerManagedBy(mgr). For(&appsv1.Deployment{}, OnlyMetadata). Owns(&appsv1.ReplicaSet{}, OnlyMetadata) ``` #### :bug: Bug Fixes - Ensure that webhook server is thread/start-safe ([#1225](https://togithub.com/kubernetes-sigs/controller-runtime/issues/1225)) _Thanks to all our contributors!_ 😊Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.