Repository: kubernetes-sigs/cluster-api
Pull request #2792 (2020-03-26 17:48:23)

🏃dependencies: update controller-runtime to v0.5.2 and controller-tool to v0.2.8
**What this PR does / why we need it**:
- update dependencies: update controller-runtime to v0.5.2 and controller-tool to v0.2.8
- update manifests

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
 - Fixes https://github.com/kubernetes-sigs/cluster-api/issues/2787


k8s-ci-robot: [APPROVALNOTIFIER] This PR is **NOT APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/cluster-api/pull/2792#" title="Author self-approved">cpanato</a>*
To complete the [pull request process](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process), please assign **chuckha**
You can assign the PR to them by writing `/assign @chuckha` in a comment when ready.

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fcluster-api).

<details open>
Needs approval from an approver in each of these files:

- **[OWNERS](https://github.com/kubernetes-sigs/cluster-api/blob/master/OWNERS)**

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":["chuckha"]} -->
vincepri: /milestone v0.3.3
vincepri: /approve
k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes-sigs/cluster-api/pull/2792#" title="Author self-approved">cpanato</a>*, *<a href="https://github.com/kubernetes-sigs/cluster-api/pull/2792#issuecomment-604583004" title="Approved">vincepri</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes-sigs%2Fcluster-api).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes-sigs/cluster-api/blob/master/OWNERS)~~ [vincepri]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
JoelSpeed: @cpanato How do you feel about squashing this into one commit? Otherwise happy to LGTM

Patch:
diff --git a/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigs.yaml b/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigs.yaml
index f28d045a5..28a6851a0 100644
--- a/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigs.yaml
+++ b/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigs.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: kubeadmconfigs.bootstrap.cluster.x-k8s.io
 spec:
diff --git a/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml b/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml
index 3dcc64dcc..9d0448ac8 100644
--- a/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml
+++ b/bootstrap/kubeadm/config/crd/bases/bootstrap.cluster.x-k8s.io_kubeadmconfigtemplates.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io
 spec:
diff --git a/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_metadata.yaml b/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_metadata.yaml
index a5fbb1dd3..5d6554aa9 100644
--- a/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_metadata.yaml
+++ b/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_metadata.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: metadata.clusterctl.cluster.x-k8s.io
 spec:
diff --git a/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_providers.yaml b/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_providers.yaml
index e5b6ac2e6..fe66e3f3b 100644
--- a/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_providers.yaml
+++ b/cmd/clusterctl/config/crd/bases/clusterctl.cluster.x-k8s.io_providers.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: providers.clusterctl.cluster.x-k8s.io
 spec:
diff --git a/cmd/clusterctl/config/zz_generated.bindata.go b/cmd/clusterctl/config/zz_generated.bindata.go
index c18424013..341895b76 100644
--- a/cmd/clusterctl/config/zz_generated.bindata.go
+++ b/cmd/clusterctl/config/zz_generated.bindata.go
@@ -114,7 +114,7 @@ func cmdClusterctlConfigManifestCertManagerYaml() (*asset, error) {
 	return a, nil
 }
 
-var _cmdClusterctlConfigManifestClusterctlApiYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x4d\x8f\xdb\x36\x13\xbe\xfb\x57\x0c\xf2\x1e\x72\x79\x2d\x37\x0d\x50\x14\xba\x15\xdb\x1e\x82\x7e\xc0\xc8\x2e\x36\x87\xa2\x07\x9a\x1c\x4b\xcc\x52\x43\x96\x33\x74\xe2\x16\xfd\xef\x05\x49\x49\x96\xbc\xa9\xbb\x97\xea\x64\x8e\xe6\xe3\xf1\x33\x33\x8f\xa8\x82\x7d\xc4\xc8\xd6\x53\x0b\x2a\x58\xfc\x2c\x48\xf9\xc4\xcd\xd3\xb7\xdc\x58\xbf\x3b\xbd\xd9\x3c\x59\x32\x2d\xdc\x25\x16\x3f\xbc\x47\xf6\x29\x6a\xfc\x1e\x8f\x96\xac\x58\x4f\x9b\x01\x45\x19\x25\xaa\xdd\x00\x28\x22\x2f\x2a\x9b\x39\x1f\x01\xb4\x27\x89\xde\x39\x8c\xdb\x0e\xa9\x79\x4a\x07\x3c\x24\xeb\x0c\xc6\x92\x7c\x2a\x7d\xfa\xaa\xf9\xba\xf9\x66\x03\xa0\x23\x96\xf0\x07\x3b\x20\x8b\x1a\x42\x0b\x94\x9c\xdb\x00\x90\x1a\xb0\x85\x10\xfd\xc9\x1a\x8c\xdc\x68\x97\x58\x30\x6a\x71\xd3\xcf\xe6\xf3\xb6\x82\xde\x70\x40\x9d\xeb\x77\xd1\xa7\xd0\xc2\x2d\xd7\x9a\x78\x42\xab\x04\x3b\x1f\xed\x74\xde\x4e\xa1\x5b\x15\x6c\xb1\x54\x2e\xf6\x23\x8a\x62\x72\x96\xe5\xc7\x95\xf9\x27\xcb\x52\x5e\x05\x97\xa2\x72\x0b\xd4\xc5\xca\x96\xba\xe4\x54\xbc\xd8\x37\x00\xac\x7d\xc0\x16\x7e\xc9\x60\x82\xd2\x68\x36\x00\x23\x3d\x05\xcc\x16\x94\x31\x85\x70\xe5\xf6\xd1\x92\x60\xbc\xf3\x2e\x0d\x34\x43\xfd\xc8\x9e\xf6\x4a\xfa\x16\x9a\xb0\xc4\x37\x51\xf7\x70\x0e\x38\x1a\xe4\x9c\x6b\xb1\x44\x4b\xdd\xf3\x68\xb9\x38\xd6\xc8\xfd\x3a\xdd\xed\xe8\x11\xf4\x2a\xc1\xe3\xca\x76\x3b\xfe\x93\x12\xdd\xa3\x99\x89\x58\x25\xfa\x90\x5f\xc2\xf5\xbb\x67\x09\xab\xf3\xe9\x8d\x72\xa1\x57\x6f\x2b\xe9\xba\xc7\x41\xb5\x63\x84\x0f\x48\xdf\xed\xdf\x3d\xbe\xbd\x5f\x99\x01\x0c\xb2\x8e\x36\x48\x99\xca\xe9\x7f\x83\xc9\xd3\x8e\x0c\x8a\x00\x49\xe2\x19\x2c\x81\xf4\x38\xf7\x0f\x2c\x9d\x90\xc4\xc7\x73\x33\x67\x0a\xd1\x07\x8c\x32\xcf\x52\x7d\x16\xfb\xb6\xb0\x5e\xd5\x7d\x9d\xa1\x55\xaf\xb9\x74\x2e\x37\x52\x8b\x66\xfc\x37\xe0\x8f\x20\xbd\x65\x88\x18\x22\x32\x52\x5d\xbd\x55\x62\xc8\x4e\x8a\xc0\x1f\x3e\xa2\x96\x06\xee\x31\xe6\x34\xc0\xbd\x4f\xce\xe4\xfd\x3c\x61\x14\x88\xa8\x7d\x47\xf6\x8f\x39\x37\x83\xf8\x52\xd4\x29\xc1\x71\x9c\x2f\x4f\x99\x3f\x52\x0e\x4e\xca\x25\xfc\x3f\x28\x32\x30\xa8\x33\x44\xcc\x55\x20\xd1\x22\x5f\x71\xe1\x06\x7e\xf6\x11\xc1\xd2\xd1\xb7\xd0\x8b\x04\x6e\x77\xbb\xce\xca\xa4\x33\xda\x0f\x43\x22\x2b\xe7\x5d\x91\x0c\x7b\x48\xe2\x23\xef\x0c\x9e\xd0\xed\xd8\x76\x5b\x15\x75\x6f\x05\xb5\xa4\x88\x3b\x15\xec\xb6\x40\xa7\xa2\x35\xcd\x60\xfe\x17\x47\x65\xe2\xd7\x2b\xac\xcf\x66\xa3\x3e\x65\x8f\x6f\x74\x20\x2f\x34\x58\x06\x35\x86\xd6\x7f\x71\x21\x3a\x9b\x32\x3b\xef\x7f\xb8\x7f\x80\xa9\x74\x69\xc6\x35\xfb\x85\xf7\x4b\x20\x5f\x5a\x90\x09\xb3\x74\xc4\x58\x9b\x78\x8c\x7e\x28\x39\x91\x4c\xf0\x96\xa4\x1c\xb4\xb3\x48\xd7\xf4\x73\x3a\x0c\x56\x72\xdf\x7f\x4f\xc8\x92\x7b\xd5\xc0\x5d\x11\x5f\x38\x20\xa4\x60\x94\xa0\x69\xe0\x1d\xc1\x9d\x1a\xd0\xdd\x29\xc6\xff\xbc\x01\x99\x69\xde\x66\x62\x5f\xd6\x82\xe5\x77\xe3\xda\xb9\xb2\xb6\x78\x31\x6d\x5a\x5e\xfd\x1b\x7d\xdb\x2f\xdc\xc0\x92\xb1\x59\xd1\xeb\xf2\x64\x4d\xa8\x0b\x73\xd9\xdb\xe6\x25\x38\x8b\xf9\x9f\x4b\x66\x59\xbd\x2a\x95\x23\x9e\x95\x82\x7b\xc4\x19\xdf\x42\x8b\xa7\xe7\xe8\x23\xa8\xf2\x31\xc9\xa1\x9c\x42\xf0\x51\xe6\xf5\x79\x09\xd0\xd3\xbf\x0a\xcb\x24\x2a\x6b\xb8\xda\x0f\xc1\x13\x92\x4c\x19\x5e\x44\xcb\xb5\x4e\xdf\x28\xfb\xe1\xca\xf5\x0b\x9d\xa9\xf6\x4f\x3d\x46\x5c\xd1\x76\x45\xd2\xe5\x3a\x91\x97\xd3\x72\x45\x61\xa9\x6b\xc0\x1e\x01\x87\x20\xe7\xb5\x30\xaf\x03\x26\xef\x2f\x50\x5f\x27\x8e\xb3\xb2\x2b\xe7\x2e\x98\xf8\x05\x64\x3c\x9b\x59\xce\x1b\x6e\x5a\x90\x98\x6a\x9b\x59\x7c\x54\x1d\x2e\x2d\xe9\x30\x2b\x56\x0b\x7f\xfe\xb5\x61\x51\x92\xca\xb7\x42\x69\x8d\x41\x46\xbe\xda\xc5\xb5\xe3\xd5\xab\xd5\xad\xa2\x1c\xb5\xa7\x7a\x2d\xe0\x16\x7e\xfd\x6d\x53\x4b\xa1\x79\x9c\xae\x0e\xd9\xf8\x77\x00\x00\x00\xff\xff\xa0\x8f\x34\x39\xe5\x09\x00\x00")
+var _cmdClusterctlConfigManifestClusterctlApiYaml = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x56\x3d\x93\xdb\x36\x13\xee\xf5\x2b\x76\xfc\x16\x6e\x5e\x51\x71\xdc\x78\xd8\x65\x2e\x29\x3c\xf9\x18\x8d\xef\xe6\x5c\x64\x52\x40\xc0\x8a\x84\x0f\x5c\x20\xd8\x85\x6c\x25\x93\xff\x9e\x01\x40\x52\xa4\xce\x51\xae\x09\x2b\x61\xb9\x1f\x8f\x9e\xdd\x7d\x08\x15\xec\x23\x46\xb6\x9e\x5a\x50\xc1\xe2\x17\x41\xca\x27\x6e\x9e\xde\x71\x63\xfd\xee\xf4\x66\xf3\x64\xc9\xb4\x70\x97\x58\xfc\xf0\x01\xd9\xa7\xa8\xf1\x7b\x3c\x5a\xb2\x62\x3d\x6d\x06\x14\x65\x94\xa8\x76\x03\xa0\x88\xbc\xa8\x6c\xe6\x7c\x04\xd0\x9e\x24\x7a\xe7\x30\x6e\x3b\xa4\xe6\x29\x1d\xf0\x90\xac\x33\x18\x4b\xf2\xa9\xf4\xe9\x9b\xe6\xdb\xe6\xdd\x06\x40\x47\x2c\xe1\x0f\x76\x40\x16\x35\x84\x16\x28\x39\xb7\x01\x20\x35\x60\x0b\x21\xfa\x93\x35\x18\xb9\xd1\x2e\xb1\x60\xd4\xe2\xa6\x9f\xcd\x97\x6d\x05\xbd\xe1\x80\x3a\xd7\xef\xa2\x4f\xa1\x85\x5b\xae\x35\xf1\x84\x56\x09\x76\x3e\xda\xe9\xbc\x9d\x42\xb7\x2a\xd8\x62\xa9\x5c\xec\x47\x14\xc5\xe4\x2c\xcb\x8f\x2b\xf3\x4f\x96\xa5\xbc\x0a\x2e\x45\xe5\x16\xa8\x8b\x95\x2d\x75\xc9\xa9\x78\xb1\x6f\x00\x58\xfb\x80\x2d\xfc\x92\xc1\x04\xa5\xd1\x6c\x00\x46\x7a\x0a\x98\x2d\x28\x63\x0a\xe1\xca\xed\xa3\x25\xc1\x78\xe7\x5d\x1a\x68\x86\xfa\x89\x3d\xed\x95\xf4\x2d\x34\x61\x89\x6f\xa2\xee\xe1\x1c\x70\x34\xc8\x39\xd7\x62\x89\x96\xba\xe7\xd1\x72\x71\xac\x91\xfb\x75\xba\xdb\xd1\x23\xe8\x55\x82\xc7\x95\xed\x76\xfc\x67\x25\xba\x47\x33\x13\xb1\x4a\xf4\x31\xbf\x84\xeb\x77\xcf\x12\x56\xe7\xd3\x1b\xe5\x42\xaf\xde\x56\xd2\x75\x8f\x83\x6a\xc7\x08\x1f\x90\xbe\xdb\xbf\x7f\x7c\x7b\xbf\x32\x03\x18\x64\x1d\x6d\x90\x32\x95\xd3\xff\x06\x93\xa7\x1d\x19\x14\x01\x92\xc4\x33\x58\x02\xe9\x71\xee\x1f\x58\x3a\x21\x89\x8f\xe7\x66\xce\x14\xa2\x0f\x18\x65\x9e\xa5\xfa\x2c\xf6\x6d\x61\xbd\xaa\xfb\x3a\x43\xab\x5e\x73\xe9\x5c\x6e\xa4\x16\xcd\xf8\x6f\xc0\x1f\x41\x7a\xcb\x10\x31\x44\x64\xa4\xba\x7a\xab\xc4\x90\x9d\x14\x81\x3f\x7c\x42\x2d\x0d\xdc\x63\xcc\x69\x80\x7b\x9f\x9c\xc9\xfb\x79\xc2\x28\x10\x51\xfb\x8e\xec\x1f\x73\x6e\x06\xf1\xa5\xa8\x53\x82\xe3\x38\x5f\x9e\x32\x7f\xa4\x1c\x9c\x94\x4b\xf8\x7f\x50\x64\x60\x50\x67\x88\x98\xab\x40\xa2\x45\xbe\xe2\xc2\x0d\xfc\xec\x23\x82\xa5\xa3\x6f\xa1\x17\x09\xdc\xee\x76\x9d\x95\x49\x67\xb4\x1f\x86\x44\x56\xce\xbb\x22\x19\xf6\x90\xc4\x47\xde\x19\x3c\xa1\xdb\xb1\xed\xb6\x2a\xea\xde\x0a\x6a\x49\x11\x77\x2a\xd8\x6d\x81\x4e\x45\x6b\x9a\xc1\xfc\x2f\x8e\xca\xc4\xaf\x57\x58\x9f\xcd\x46\x7d\xca\x1e\xdf\xe8\x40\x5e\x68\xb0\x0c\x6a\x0c\xad\xff\xe2\x42\x74\x36\x65\x76\x3e\xfc\x70\xff\x00\x53\xe9\xd2\x8c\x6b\xf6\x0b\xef\x97\x40\xbe\xb4\x20\x13\x66\xe9\x88\xb1\x36\xf1\x18\xfd\x50\x72\x22\x99\xe0\x2d\x49\x39\x68\x67\x91\xae\xe9\xe7\x74\x18\xac\xe4\xbe\xff\x9e\x90\x25\xf7\xaa\x81\xbb\x22\xbe\x70\x40\x48\xc1\x28\x41\xd3\xc0\x7b\x82\x3b\x35\xa0\xbb\x53\x8c\xff\x79\x03\x32\xd3\xbc\xcd\xc4\xbe\xac\x05\xcb\xef\xc6\xb5\x73\x65\x6d\xf1\x62\xda\xb4\xbc\xfa\x37\xfa\xb6\x5f\xb8\x81\x25\x63\xb3\xa2\xd7\xe5\xc9\x9a\x50\x17\xe6\xb2\xb7\xcd\x4b\x70\x16\xf3\x3f\x97\xcc\xb2\x7a\x55\x2a\x47\x3c\x2b\x05\xf7\x88\x33\xbe\x85\x16\x4f\xcf\xd1\x47\x50\xe5\x63\x92\x43\x39\x85\xe0\xa3\xcc\xeb\xf3\x12\xa0\xa7\x7f\x15\x96\x49\x54\xd6\x70\xb5\x1f\x82\x27\x24\x99\x32\xbc\x88\x96\x6b\x9d\xbe\x51\xf6\xe3\x95\xeb\x57\x3a\x53\xed\x9f\x7b\x8c\xb8\xa2\xed\x8a\xa4\xcb\x75\x22\x2f\xa7\xe5\x8a\xc2\x52\xd7\x80\x3d\x02\x0e\x41\xce\x6b\x61\x5e\x07\x4c\xde\x5f\xa1\xbe\x4e\x1c\x67\x65\x57\xce\x5d\x30\xf1\x0b\xc8\x78\x36\xb3\x9c\x37\xdc\xb4\x20\x31\xd5\x36\xb3\xf8\xa8\x3a\x5c\x5a\xd2\x61\x56\xac\x16\xfe\xfc\x6b\xc3\xa2\x24\x95\x6f\x85\xd2\x1a\x83\x8c\x7c\xb5\x8b\x6b\xc7\xab\x57\xab\x5b\x45\x39\x6a\x4f\xf5\x5a\xc0\x2d\xfc\xfa\xdb\xa6\x96\x42\xf3\x38\x5d\x1d\xb2\xf1\xef\x00\x00\x00\xff\xff\x75\xfc\x11\xdc\xe5\x09\x00\x00")
 
 func cmdClusterctlConfigManifestClusterctlApiYamlBytes() ([]byte, error) {
 	return bindataRead(
diff --git a/config/crd/bases/cluster.x-k8s.io_clusters.yaml b/config/crd/bases/cluster.x-k8s.io_clusters.yaml
index 90f023311..c9512218f 100644
--- a/config/crd/bases/cluster.x-k8s.io_clusters.yaml
+++ b/config/crd/bases/cluster.x-k8s.io_clusters.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: clusters.cluster.x-k8s.io
 spec:
diff --git a/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml b/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml
index a7d9d0072..69c6d8d67 100644
--- a/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml
+++ b/config/crd/bases/cluster.x-k8s.io_machinedeployments.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: machinedeployments.cluster.x-k8s.io
 spec:
diff --git a/config/crd/bases/cluster.x-k8s.io_machinehealthchecks.yaml b/config/crd/bases/cluster.x-k8s.io_machinehealthchecks.yaml
index 1130b1236..86649ee7c 100644
--- a/config/crd/bases/cluster.x-k8s.io_machinehealthchecks.yaml
+++ b/config/crd/bases/cluster.x-k8s.io_machinehealthchecks.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: machinehealthchecks.cluster.x-k8s.io
 spec:
diff --git a/config/crd/bases/cluster.x-k8s.io_machines.yaml b/config/crd/bases/cluster.x-k8s.io_machines.yaml
index 2750dd596..a5466dd3c 100644
--- a/config/crd/bases/cluster.x-k8s.io_machines.yaml
+++ b/config/crd/bases/cluster.x-k8s.io_machines.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: machines.cluster.x-k8s.io
 spec:
diff --git a/config/crd/bases/cluster.x-k8s.io_machinesets.yaml b/config/crd/bases/cluster.x-k8s.io_machinesets.yaml
index c42220711..569eff13e 100644
--- a/config/crd/bases/cluster.x-k8s.io_machinesets.yaml
+++ b/config/crd/bases/cluster.x-k8s.io_machinesets.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: machinesets.cluster.x-k8s.io
 spec:
diff --git a/config/crd/bases/exp.cluster.x-k8s.io_machinepools.yaml b/config/crd/bases/exp.cluster.x-k8s.io_machinepools.yaml
index 6b67d07f9..573d4c9c4 100644
--- a/config/crd/bases/exp.cluster.x-k8s.io_machinepools.yaml
+++ b/config/crd/bases/exp.cluster.x-k8s.io_machinepools.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: machinepools.exp.cluster.x-k8s.io
 spec:
diff --git a/controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanes.yaml b/controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanes.yaml
index 6ce27516b..19f1b92ea 100644
--- a/controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanes.yaml
+++ b/controlplane/kubeadm/config/crd/bases/controlplane.cluster.x-k8s.io_kubeadmcontrolplanes.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: kubeadmcontrolplanes.controlplane.cluster.x-k8s.io
 spec:
diff --git a/go.mod b/go.mod
index 4497325ab..ef1410818 100644
--- a/go.mod
+++ b/go.mod
@@ -41,7 +41,7 @@ require (
 	k8s.io/component-base v0.17.2
 	k8s.io/klog v1.0.0
 	k8s.io/utils v0.0.0-20200229041039-0a110f9eb7ab
-	sigs.k8s.io/controller-runtime v0.5.1
+	sigs.k8s.io/controller-runtime v0.5.2
 	sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802
 	sigs.k8s.io/yaml v1.2.0
 )
diff --git a/go.sum b/go.sum
index aa9e2f60e..6ae6dcc65 100644
--- a/go.sum
+++ b/go.sum
@@ -627,8 +627,8 @@ modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
 modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
 modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs=
 modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I=
-sigs.k8s.io/controller-runtime v0.5.1 h1:TNidCfVoU/cs2i+9xoTcL/l7yhl0bDhYXU0NCG6wmiE=
-sigs.k8s.io/controller-runtime v0.5.1/go.mod h1:Uojny7gvg55YLQnEGnPzRE3dC4ik2tRlZJgOUCWXAV4=
+sigs.k8s.io/controller-runtime v0.5.2 h1:pyXbUfoTo+HA3jeIfr0vgi+1WtmNh0CwlcnQGLXwsSw=
+sigs.k8s.io/controller-runtime v0.5.2/go.mod h1:JZUwSMVbxDupo0lTJSSFP5pimEyxGynROImSsqIOx1A=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802 h1:L6/8hETA7jvdx3xBcbDifrIN2xaYHE7tA58n+Kdp2Zw=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802/go.mod h1:HIZ3PWUezpklcjkqpFbnYOqaqsAE1JeCTEwkgvPLXjk=
 sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI=
diff --git a/hack/tools/go.mod b/hack/tools/go.mod
index 90426d05d..74d1c7400 100644
--- a/hack/tools/go.mod
+++ b/hack/tools/go.mod
@@ -9,7 +9,7 @@ require (
 	github.com/raviqqe/liche v0.0.0-20200229003944-f57a5d1c5be4
 	golang.org/x/tools v0.0.0-20200204192400-7124308813f3
 	k8s.io/code-generator v0.18.0-alpha.2.0.20200130061103-7dfd5e9157ef
-	sigs.k8s.io/controller-tools v0.2.6
+	sigs.k8s.io/controller-tools v0.2.8
 	sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20200226075303-ed8438ec10a4
 	sigs.k8s.io/kustomize/kustomize/v3 v3.5.4
 	sigs.k8s.io/testing_frameworks v0.1.2
diff --git a/hack/tools/go.sum b/hack/tools/go.sum
index aa6dc15c3..1b2a03c71 100644
--- a/hack/tools/go.sum
+++ b/hack/tools/go.sum
@@ -779,8 +779,8 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphD
 mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4=
 mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f h1:Cq7MalBHYACRd6EesksG1Q8EoIAKOsiZviGKbOLIej4=
 mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZIVpwbkw+04kSxk3rAtzlimaUJw=
-sigs.k8s.io/controller-tools v0.2.6 h1:4Fo36alFw5+Fffz7HhNd2EFBFvckqVkb4ePnIj0uLUc=
-sigs.k8s.io/controller-tools v0.2.6/go.mod h1:9VKHPszmf2DHz/QmHkcfZoewO6BL7pPs9uAiBVsaJSE=
+sigs.k8s.io/controller-tools v0.2.8 h1:UmYsnu89dn8/wBhjKL3lkGyaDGRnPDYUx2+iwXRnylA=
+sigs.k8s.io/controller-tools v0.2.8/go.mod h1:9VKHPszmf2DHz/QmHkcfZoewO6BL7pPs9uAiBVsaJSE=
 sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20200226075303-ed8438ec10a4 h1:P/Vxe8zHHI0mjkl9+5UuWJgynJgLxoVpisfWKWr3zl4=
 sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20200226075303-ed8438ec10a4/go.mod h1:nyAxPBUS04gN3IRuEQ0elG4mVeto/d/qQRsW2PsyAy4=
 sigs.k8s.io/kustomize v2.0.3+incompatible h1:JUufWFNlI44MdtnjUqVnvh29rR37PQFzPbLXqhyOyX0=


Test patch:
diff --git a/cmd/clusterctl/test/e2e/go.mod b/cmd/clusterctl/test/e2e/go.mod
index a8b3e1246..44913b542 100644
--- a/cmd/clusterctl/test/e2e/go.mod
+++ b/cmd/clusterctl/test/e2e/go.mod
@@ -11,7 +11,7 @@ require (
 	k8s.io/client-go v0.17.2
 	sigs.k8s.io/cluster-api v0.3.0-rc.2.0.20200302175844-3011d8c2580c
 	sigs.k8s.io/cluster-api/test/infrastructure/docker v0.3.0-rc.2.0.20200302175844-3011d8c2580c
-	sigs.k8s.io/controller-runtime v0.5.1
+	sigs.k8s.io/controller-runtime v0.5.2
 	sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802
 )
 
diff --git a/cmd/clusterctl/test/e2e/go.sum b/cmd/clusterctl/test/e2e/go.sum
index 1bf478aef..90e895f33 100644
--- a/cmd/clusterctl/test/e2e/go.sum
+++ b/cmd/clusterctl/test/e2e/go.sum
@@ -597,8 +597,8 @@ modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
 modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
 modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs=
 modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I=
-sigs.k8s.io/controller-runtime v0.5.1 h1:TNidCfVoU/cs2i+9xoTcL/l7yhl0bDhYXU0NCG6wmiE=
-sigs.k8s.io/controller-runtime v0.5.1/go.mod h1:Uojny7gvg55YLQnEGnPzRE3dC4ik2tRlZJgOUCWXAV4=
+sigs.k8s.io/controller-runtime v0.5.2 h1:pyXbUfoTo+HA3jeIfr0vgi+1WtmNh0CwlcnQGLXwsSw=
+sigs.k8s.io/controller-runtime v0.5.2/go.mod h1:JZUwSMVbxDupo0lTJSSFP5pimEyxGynROImSsqIOx1A=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802 h1:L6/8hETA7jvdx3xBcbDifrIN2xaYHE7tA58n+Kdp2Zw=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802/go.mod h1:HIZ3PWUezpklcjkqpFbnYOqaqsAE1JeCTEwkgvPLXjk=
 sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI=
diff --git a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockerclusters.yaml b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockerclusters.yaml
index 8429c3754..7b55e32c3 100644
--- a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockerclusters.yaml
+++ b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockerclusters.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: dockerclusters.infrastructure.cluster.x-k8s.io
 spec:
diff --git a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml
index 224d43b1b..82f0f9730 100644
--- a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml
+++ b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachines.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: dockermachines.infrastructure.cluster.x-k8s.io
 spec:
diff --git a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachinetemplates.yaml b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachinetemplates.yaml
index 25acc443e..392ba77ed 100644
--- a/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachinetemplates.yaml
+++ b/test/infrastructure/docker/config/crd/bases/infrastructure.cluster.x-k8s.io_dockermachinetemplates.yaml
@@ -4,7 +4,7 @@ apiVersion: apiextensions.k8s.io/v1
 kind: CustomResourceDefinition
 metadata:
   annotations:
-    controller-gen.kubebuilder.io/version: v0.2.6
+    controller-gen.kubebuilder.io/version: v0.2.8
   creationTimestamp: null
   name: dockermachinetemplates.infrastructure.cluster.x-k8s.io
 spec:
diff --git a/test/infrastructure/docker/go.mod b/test/infrastructure/docker/go.mod
index 365c5b7d7..86763f5c1 100644
--- a/test/infrastructure/docker/go.mod
+++ b/test/infrastructure/docker/go.mod
@@ -13,7 +13,7 @@ require (
 	k8s.io/client-go v0.17.2
 	k8s.io/klog v1.0.0
 	sigs.k8s.io/cluster-api v0.3.0-rc.2.0.20200302175844-3011d8c2580c
-	sigs.k8s.io/controller-runtime v0.5.1
+	sigs.k8s.io/controller-runtime v0.5.2
 	sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802
 	sigs.k8s.io/yaml v1.2.0
 )
diff --git a/test/infrastructure/docker/go.sum b/test/infrastructure/docker/go.sum
index 72691bc25..d2dec9d31 100644
--- a/test/infrastructure/docker/go.sum
+++ b/test/infrastructure/docker/go.sum
@@ -577,8 +577,8 @@ modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
 modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
 modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs=
 modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I=
-sigs.k8s.io/controller-runtime v0.5.1 h1:TNidCfVoU/cs2i+9xoTcL/l7yhl0bDhYXU0NCG6wmiE=
-sigs.k8s.io/controller-runtime v0.5.1/go.mod h1:Uojny7gvg55YLQnEGnPzRE3dC4ik2tRlZJgOUCWXAV4=
+sigs.k8s.io/controller-runtime v0.5.2 h1:pyXbUfoTo+HA3jeIfr0vgi+1WtmNh0CwlcnQGLXwsSw=
+sigs.k8s.io/controller-runtime v0.5.2/go.mod h1:JZUwSMVbxDupo0lTJSSFP5pimEyxGynROImSsqIOx1A=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802 h1:L6/8hETA7jvdx3xBcbDifrIN2xaYHE7tA58n+Kdp2Zw=
 sigs.k8s.io/kind v0.7.1-0.20200303021537-981bd80d3802/go.mod h1:HIZ3PWUezpklcjkqpFbnYOqaqsAE1JeCTEwkgvPLXjk=
 sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI=
diff --git a/test/infrastructure/docker/hack/tools/go.mod b/test/infrastructure/docker/hack/tools/go.mod
index de1b9616c..f51b13977 100644
--- a/test/infrastructure/docker/hack/tools/go.mod
+++ b/test/infrastructure/docker/hack/tools/go.mod
@@ -5,7 +5,7 @@ go 1.13
 require (
 	github.com/golangci/golangci-lint v1.23.8
 	sigs.k8s.io/cluster-api/hack/tools v0.0.0-20200130204219-ea93471ad47a
-	sigs.k8s.io/controller-tools v0.2.6
+	sigs.k8s.io/controller-tools v0.2.8
 )
 
 replace sigs.k8s.io/cluster-api/hack/tools => ../../../../../hack/tools
diff --git a/test/infrastructure/docker/hack/tools/go.sum b/test/infrastructure/docker/hack/tools/go.sum
index bf1e9c21e..88679a4cc 100644
--- a/test/infrastructure/docker/hack/tools/go.sum
+++ b/test/infrastructure/docker/hack/tools/go.sum
@@ -710,8 +710,8 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphD
 mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4=
 mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f h1:Cq7MalBHYACRd6EesksG1Q8EoIAKOsiZviGKbOLIej4=
 mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZIVpwbkw+04kSxk3rAtzlimaUJw=
-sigs.k8s.io/controller-tools v0.2.6 h1:4Fo36alFw5+Fffz7HhNd2EFBFvckqVkb4ePnIj0uLUc=
-sigs.k8s.io/controller-tools v0.2.6/go.mod h1:9VKHPszmf2DHz/QmHkcfZoewO6BL7pPs9uAiBVsaJSE=
+sigs.k8s.io/controller-tools v0.2.8 h1:UmYsnu89dn8/wBhjKL3lkGyaDGRnPDYUx2+iwXRnylA=
+sigs.k8s.io/controller-tools v0.2.8/go.mod h1:9VKHPszmf2DHz/QmHkcfZoewO6BL7pPs9uAiBVsaJSE=
 sigs.k8s.io/kubebuilder/docs/book/utils v0.0.0-20200226075303-ed8438ec10a4/go.mod h1:nyAxPBUS04gN3IRuEQ0elG4mVeto/d/qQRsW2PsyAy4=
 sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod h1:MkjgH3RdOWrievjo6c9T245dYlB5QeXV4WCbnt/PEpU=
 sigs.k8s.io/kustomize/api v0.3.2/go.mod h1:A+ATnlHqzictQfQC1q3KB/T6MSr0UWQsrrLxMWkge2E=