Closed lluunn closed 5 years ago
TLDR: no
You should not use "notebook"
as your group name. It is the resource kind not the group name. You should find a group name that you feel confortable with and use that (e.g. "machinelearning"
).
/triage support
I know notebook should not be the group name.
But the problem is, we want the apiGroup to be "kubeflow.org", and there is no way to achieve that.
As said, the short answer is: no, it can not be done.
Some nice group names you may consider are:
api.kubeflow.org
: this is my favorite.resources.kubeflow.org
: similar to the previous, but I like better the former.machine-learning.kubeflow.org
: according to your webpage that is what you do. Any variations replacing the -
by a .
or just removing it could also be nice.Leaving a warning here: api
will not work as a group name. It seems to confuse the CRD generation (it replaces api
with the version leaving you with something like alphav1.example.com
as a group name).
@jschlichtholz that sounds like a bug that we need to fix.
P.S. This should now be doable with controller-tools -- it'll take a bit of manual editing, but it should work fine.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
.
Mark the issue as fresh with /remove-lifecycle rotten
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /close
@fejta-bot: Closing this issue.
We want to create a CRD with spec:
However, IIUC we can't achieve this with kubebuilder now because
The group name will be the dir name under pkg/apis, so we chose "notebook". Our org is "kubeflow.org". So the generated CRD is:
Is there any way to generate the CRD so that apiGroup is "kubeflow.org"?
Thanks!