Kubebuilder: Allow group names with `-`

Created on 21 Aug 2019  路  4Comments  路  Source: kubernetes-sigs/kubebuilder

Currently:

 $ 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)

RFE

However, the controller allows it. The change is just in the regex ^[a-z]+$.

kinfeature

Most helpful comment

All 4 comments

It seems this issue should be closed now that #977 is merged.

Thank you!

/assign @camilamacedo86

Was this page helpful?
0 / 5 - 0 ratings