-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accept empty group name and domain #1975
Comments
In my POV the error/bug is NOT regarding not allow be both empty, but its logic. And might I would consider it an RFE to support core types. See: By running
I'd expected that the controller was created using/importing the Pod core type and that the PROJECT file would store an empty string for the domain. However, if I asked to generate the resource in the project then, it would no longer be related to the core type besides the name and the resource.domain should equal the project domain. So, the above scenario results now in:
When should be
Also, its controller is missing the import for the core api. Is it make sense? |
I don't consider this a bug (probably i used the bug template) There is definetely a need to fully support core types, but this is not talking about that. This is a pre-requisite for that. |
As we spoke in the kb meeting, we agreed in close this one but we will raise a new one just to discuss and see how we can address the problem "how to support external types". |
c/c @estroz |
See #1999 |
The "core" builtin api group contains Resources such as
Pod
orNamespace
(full list).This group's uses both an empty group and an empty domain.
Currently, while one of domain or group ar allowed to be empty, both are not allowed to be empty.
/kind bug
The text was updated successfully, but these errors were encountered: