-
Notifications
You must be signed in to change notification settings - Fork 75
CRD API No Longer Supports Watch Bookmarks #197
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
Sorry to hear that. AFAIK, bookmarks have never supported by the library so maybe the spec forces it somehow... Could you share more information? What exception do you get? How do you use Watch()? Which version of K8s do you use? |
Hi @tomplus, Thank you for you quick reply! We're on kubernetes 1.23.2. To reproduce it yourself you could first create the following CRD manually, then run the script below: DemoCrd Manifest
Create this first using
|
Thanks for detailed information, it helps a lot. I can confirm that the latest version of the library was generated using the old CRD spec and the attribute "allow_watch_bookmarks", which you use, is missing. It's my mistake, I used a stale branch 🤦♂️ when I was working on switching to the new generator. |
Fixed in v22.6.4. |
Awesome, Thanks for the timely fix :) It's working now. |
Hi,
#185 seems to have removed support for watch bookmarks for custom objects, which currently breaks our application.
See:
2d0452d#diff-7ca22d542e5e2fc5a31472bd4643aa4db732e8666e7b4bba4acd0a123aeb389b
I believe this is a bug. However as I'm not familiar with the details of the client generation process I cannot say if it is due to the new 5.4.0 generator itself, the pre-processing or the actual kubernetes openapi spec. I checked all three but quickly found them to be rabbit holes. So hopefully you @tomplus can more easily say what's wrong here.
Thanks!
paxbit
The text was updated successfully, but these errors were encountered: