From b045b79ca17b5c4ec24088222bc7a3e4186e2c2f Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Mon, 20 May 2024 06:01:06 +0100 Subject: [PATCH] doc: (plugin deploy-image and envtest): use ref of project-va instead of v3 in the examples --- docs/book/src/plugins/deploy-image-plugin-v1-alpha.md | 2 +- docs/book/src/reference/envtest.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/book/src/plugins/deploy-image-plugin-v1-alpha.md b/docs/book/src/plugins/deploy-image-plugin-v1-alpha.md index 519a98d191f..995b0ed775f 100644 --- a/docs/book/src/plugins/deploy-image-plugin-v1-alpha.md +++ b/docs/book/src/plugins/deploy-image-plugin-v1-alpha.md @@ -13,7 +13,7 @@ By using this plugin you will have: diff --git a/docs/book/src/reference/envtest.md b/docs/book/src/reference/envtest.md index b314b4f2977..00aa545dda7 100644 --- a/docs/book/src/reference/envtest.md +++ b/docs/book/src/reference/envtest.md @@ -81,7 +81,7 @@ Logs from the test runs are prefixed with `test-env`. You can use the plugin [DeployImage](https://book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html) to check examples. This plugin allows users to scaffold API/Controllers to deploy and manage an Operand (image) on the cluster following the guidelines and best practices. It abstracts the complexities of achieving this goal while allowing users to customize the generated code. -Therefore, you can check that a test using ENV TEST will be generated for the controller which has the purpose to ensure that the Deployment is created successfully. You can see an example of its code implementation under the `testdata` directory with the [DeployImage](https://book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html) samples [here](https://github.com/kubernetes-sigs/kubebuilder/blob/v3.7.0/testdata/project-v3-with-deploy-image/controllers/busybox_controller_test.go). +Therefore, you can check that a test using ENV TEST will be generated for the controller which has the purpose to ensure that the Deployment is created successfully. You can see an example of its code implementation under the `testdata` directory with the [DeployImage](https://book.kubebuilder.io/plugins/deploy-image-plugin-v1-alpha.html) samples [here](https://github.com/kubernetes-sigs/kubebuilder/blob/v3.7.0/testdata/project-v4-with-deploy-image/controllers/busybox_controller_test.go).