Skip to content

Commit f7f1b51

Browse files
docs: fixed the broken links
1 parent 30c2409 commit f7f1b51

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/book/src/cronjob-tutorial/writing-tests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ This Status update example above demonstrates a general testing strategy for a c
2828

2929
You can use the plugin [DeployImage](../plugins/available/deploy-image-plugin-v1-alpha.md) 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.
3030

31-
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](../plugins/available/deploy-image-plugin-v1-alpha.md) samples [here](https://github.com/kubernetes-sigs/kubebuilder/blob/v3.7.0/testdata/project-v4-with-plugins/controllers/busybox_controller_test.go).
31+
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](../plugins/available/deploy-image-plugin-v1-alpha.md) samples [here](https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v4-with-plugins).
3232

3333
</aside>

docs/book/src/plugins/available/deploy-image-plugin-v1-alpha.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ files are affected, in addition to the existing Kubebuilder scaffolding:
105105
[video]: https://youtu.be/UwPuRjjnMjY
106106
[operator-pattern]: https://kubernetes.io/docs/concepts/extend-kubernetes/operator/
107107
[controller-runtime]: https://github.com/kubernetes-sigs/controller-runtime
108-
[testdata]: ./.././../../../../testdata/project-v4-with-plugins
108+
[testdata]: https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata/project-v4-with-plugins
109109
[envtest]: ./../../reference/envtest.md
110110
[quick-start]: ./../../quick-start.md
111111
[create-apis]: ../../cronjob-tutorial/new-api.md

docs/book/src/plugins/available/go-v4-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ kubebuilder init --domain tutorial.kubebuilder.io --repo tutorial.kubebuilder.io
4242

4343
[controller-runtime]: https://github.com/kubernetes-sigs/controller-runtime
4444
[quickstart]: ./../../quick-start.md
45-
[testdata]: ./../../../../../testdata
45+
[testdata]: https://github.com/kubernetes-sigs/kubebuilder/tree/master/testdata
4646
[plugins-main]: ./../../../../../cmd/main.go
4747
[kustomize-plugin]: ./../../plugins/available/kustomize-v2.md
4848
[kustomize]: https://github.com/kubernetes-sigs/kustomize

0 commit comments

Comments
 (0)