From 0019c54544080880767d964423826fe5e5b64780 Mon Sep 17 00:00:00 2001 From: Camila Macedo Date: Mon, 20 May 2024 06:01:06 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20(plugin=20deploy-image=20and=20e?= =?UTF-8?q?nvtest):=20use=20ref=20of=20project-v4=20=20instead=20of=20v3?= =?UTF-8?q?=20in=20the=20examples?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 519a98d191..995b0ed775 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 b314b4f297..00aa545dda 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).