-
Notifications
You must be signed in to change notification settings - Fork 3.3k
models do not set kind or apiversion #744
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
Comments
I see the same behaviour. |
I would question if we could fix these. The constructors for such model objects are fairly dumb and are generated by a generator. |
I think the PodList in the Response from the API Server does not include the GET https://kubernetes/api/v1/pods
and therefore kind & apiVersion are none But now the question, why is |
This issue is about the models in the client and may indeed be a bit tricky to fix. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The models do not set the
kind
andapiVersion
when created:Both the kind and api version are known to the model so they should set it.
The text was updated successfully, but these errors were encountered: