Skip to content

make deploy fails inside cronjob tutorial  #3249

@kallyaleksiev

Description

@kallyaleksiev

What broke? What's expected?

Currently, inside the code for the cronjob tutorial (in docs/book/src/cronjob-tutorial/testdata/project) if you try to deploy it to your cluster using make deploy you get an error:

lstat kubebuilder/docs/book/src/cronjob-tutorial/testdata/project/config/manager/controller_manager_config.yaml: no such file or directory"

error: no objects passed to apply
make: *** [deploy] Error 1

because the file controller_manager_config.yaml referenced in the kustomization.yaml does not exist there

this file does not seem to be needed and the entire configMapGenerator

can be deleted, at which point make deploy works

Reproducing this issue

run make deploy inside docs/book/src/cronjob-tutorial/testdata/project

KubeBuilder (CLI) Version

3.9.0

PROJECT version

No response

Plugin versions

No response

Other versions

No response

Extra Labels

/kind documentation

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.kind/documentationCategorizes issue or PR as related to documentation.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions