Skip to content

Add verbosity to controller-gen #889

@grzesuav

Description

@grzesuav

Recently I stumble upon a situation when running controller gen had no effect

controller-gen crd:headerFile="hack/boilerplate.go.txt",year=2024 paths="./pkg/api/..." output:dir="."

for the crd gen, but worked fine for object gen

controller-gen object:headerFile="hack/boilerplate.go.txt",year=2024 paths="./pkg/api/..."

(it produced output)

When I wanted to dig into it, I realized there is no way to enable verbose output in controller-gen, which would help to debug it.

Would be nice to have this feature

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions