Replies: 1 comment
-
Here's a refined version of your draft. It clarifies the points you're discussing and makes the technical details more concise: I'm not completely certain I follow your comment, but let me address the main point regarding API domain configurations in Kubebuilder. In Kubebuilder, the "domain" should be specified only for the domains and groups that you create APIs for. These values are crucial as they generate the endpoints. If your project requires a multi-group setup, you can enable this option following the guide provided here: https://book.kubebuilder.io/migration/multi-group To understand its usage see: https://book.kubebuilder.io/faq#how-does-the-value-informed-via-the-domain-flag-ie-kubebuilder-init---domain-examplecom-when-we-init-a-project I am closing this one as sorted out but feel free to re-open if you see that has a need. |
Beta Was this translation helpful? Give feedback.
-
I found some projects which define
group
as a subdomain part of adomain
and omit it later while defining api.kubebuilder init --domain mygroup.mydomain.io && && kubebuilder create api --version v1 --kind Mykind
vskubebuilder init --domain mydomain.io && kubebuilder create api --group mygroup --version v1 --kind Mykind
vs
The files
PROJECT
will be different, but API the same.Is there any practical difference between those two options?
Beta Was this translation helpful? Give feedback.
All reactions