Book ERROR setup problem running manager {"error": "open /tmp/k8s-webhook-server/serving-certs/tls.crt: no such file or directory"} #3559
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
kind/documentation
Categorizes issue or PR as related to documentation.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What broke? What's expected?
Following the book tutorial in ordered steps, when getting to this page https://book.kubebuilder.io/cronjob-tutorial/running
At this point of the tutorial the user doesn't want to run the webhooks, just test with
make run
and disable the webhooks.It intructs the user to skip the webhook with environment variable
export ENABLE_WEBHOOKS=false make run
I expect to not see any errors.
The previous page https://book.kubebuilder.io/cronjob-tutorial/webhook-implementation
Doesn't mention at all that the main.go needs be modified from:
Modified to:
Reproducing this issue
Follow tutorial in order up to this page Following the book tutorial in ordered steps, when getting to this page https://book.kubebuilder.io/cronjob-tutorial/running
It intructs the user to skip the webhook with environment variable
export ENABLE_WEBHOOKS=false make run
When running I get the following error
KubeBuilder (CLI) Version
3.11.1
PROJECT version
3
Plugin versions
No response
Other versions
No response
Extra Labels
/kind documentation
The text was updated successfully, but these errors were encountered: