-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"You won't need to touch these" in reference to AfterSuite in the cronjob-tutorial is misleading #3511
Comments
/assign @RakshitKumar04 |
Hey, @bobdoah should I make this change in every file containing this code? |
No, this is just a documentation issue. It doesn't apply unless the Context
has been added.
…On Fri, 28 Jul 2023, 18:18 Rakshit Sharma, ***@***.***> wrote:
Hey, @bobdoah <https://github.com/bobdoah> should I make this change in
every file containing this code?
—
Reply to this email directly, view it on GitHub
<#3511 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVGI2IWQD4UHDCW2LQMN3XSPX7RANCNFSM6AAAAAA22CPAAI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@bobdoah So, should I reflect these changes in |
See: #3566 .
it will fail you can check the CI tests. In this I am closing this one. however, if you see that needs to be re-open please feel free. Also, fell free to push a PR with the changes. Note that the docs are built from the default scaffolds and they are automatic updated by running |
What broke? What's expected?
In the cronjob tutorial documentation it says:
and includes the following code sample:
but when you generated the code, what it actually looks like is:
the
cancel()
call needs to be added, or the kube-apiserver will not stop correctly.The documentation misled me into thinking I didn't need to make a change. It was only on comparison with the kubebuilder book source I realised my mistake.
Reproducing this issue
No response
KubeBuilder (CLI) Version
Version: main.version{KubeBuilderVersion:"3.11.1", KubernetesVendor:"1.27.1", GitCommit:"1dc8ed95f7cc55fef3151f749d3d541bec3423c9", BuildDate:"2023-07-03T13:10:56Z", GoOs:"darwin", GoArch:"amd64"}
PROJECT version
3
Plugin versions
- go.kubebuilder.io/v4
Other versions
No response
Extra Labels
No response
The text was updated successfully, but these errors were encountered: