kubernetes-sigs / kubernetes-sigs/controller-tools
Add verbosity to `controller-gen`
Open
help wanted
lifecycle/frozen
- Dominant language
- Go
- Stars
- 868
- Forks
- 482
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.