diff --git a/docs/book/src/migration/manually_migration_guide_v2_v3.md b/docs/book/src/migration/manually_migration_guide_v2_v3.md index 85c2892a088..25a986b4fb7 100644 --- a/docs/book/src/migration/manually_migration_guide_v2_v3.md +++ b/docs/book/src/migration/manually_migration_guide_v2_v3.md @@ -355,9 +355,9 @@ require ( github.com/go-logr/logr v0.3.0 github.com/onsi/ginkgo v1.14.1 github.com/onsi/gomega v1.10.2 - k8s.io/apimachinery v0.19.2 - k8s.io/client-go v0.19.2 - sigs.k8s.io/controller-runtime v0.7.0 + k8s.io/apimachinery v0.20.1 + k8s.io/client-go v0.20.1 + sigs.k8s.io/controller-runtime v0.8.0 ) ``` @@ -408,7 +408,7 @@ With: ENVTEST_ASSETS_DIR=$(shell pwd)/testbin test: manifests generate fmt vet ## Run tests. mkdir -p ${ENVTEST_ASSETS_DIR} - test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.7.0/hack/setup-envtest.sh + test -f ${ENVTEST_ASSETS_DIR}/setup-envtest.sh || curl -sSLo ${ENVTEST_ASSETS_DIR}/setup-envtest.sh https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/v0.8.0/hack/setup-envtest.sh source ${ENVTEST_ASSETS_DIR}/setup-envtest.sh; fetch_envtest_tools $(ENVTEST_ASSETS_DIR); setup_envtest_env $(ENVTEST_ASSETS_DIR); go test ./... -coverprofile cover.out ``` @@ -495,7 +495,7 @@ You can check all changes applied to the Makefile by looking in the samples proj @@ -643,4 +643,5 @@ Now, re-create the APIS(CRDs) and Webhooks manifests by running the `kubebuilde [migration-v2vsv3]: /migration/v2vsv3.md [custom-resource-definition-versioning]: https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning/ [issue-1999]: https://github.com/kubernetes-sigs/kubebuilder/issues/1999 -[project-customizations]: v2vsv3.md#project-customizations \ No newline at end of file +[project-customizations]: v2vsv3.md#project-customizations +[c-r-0.7-release]: https://github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.7.0 \ No newline at end of file diff --git a/docs/book/src/migration/migration_guide_v2tov3.md b/docs/book/src/migration/migration_guide_v2tov3.md index be1a1d2dcbd..233ce43244f 100644 --- a/docs/book/src/migration/migration_guide_v2tov3.md +++ b/docs/book/src/migration/migration_guide_v2tov3.md @@ -39,7 +39,7 @@ go mod init tutorial.kubebuilder.io/migration-project