$ kubebuilder create api --group webapp-hyphen --version v1 --kind Guestbook
Create Resource [y/n]
y
Create Controller [y/n]
y
Writing scaffold for you to edit...
api/v1/guestbook_types.go
2019/08/15 23:10:22 error scaffolding APIs: group must match ^[a-z]+$ (was webapp-hyphen)
However, the controller allows it. The change is just in the regex ^[a-z]+$.
It seems this issue should be closed now that #977 is merged.
Thank you!
/assign @camilamacedo86
Most helpful comment
PR: https://github.com/kubernetes-sigs/kubebuilder/pull/977