-
Notifications
You must be signed in to change notification settings - Fork 3.3k
results of list API calls have no kind or apiversion set for items #745
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
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. |
To add to the observation on #819 (comment) that list Indeed, CRDs have separate field
It's optional, and I don't know why anyone should want to override it. The CRDs I've see that do set it all followed the "FooList" convention, but there are probably some out there that deviate from it? In theory, the relation between item kind and list kind can be extracted from swagger.json / openapi.json, following
IIUC the openapi is autogenerated, so I hard to say how reliable this inference would be into the future, but same structure is present in oldest and newest samples I have at hand: |
Personally I don't feel implementing this openapi inference is worth the trouble. However, it's interesting that |
list calls do not set the kind of api version of the items:
I suspect this might be caused by #744 but I am not sure how the de-serialization exactly works.
The text was updated successfully, but these errors were encountered: