-
Notifications
You must be signed in to change notification settings - Fork 41
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
Watch from resource version #251
Conversation
I think this is the same as here: https://github.com/joan38/kubernetes-client/pull/223/files |
@yurique yes i've basically resumed from there and made the tests pass (+ simplified a bit the diff) |
Hmm I thought the tests were all passing when I raised it. It's been a
while, I'll take another look soon
|
Looks like @joan38 has pushed to my original PR since I raised it, so I'm planning to get that working and then clean up the diff if necessary, it doesn't seem that useful to have two nearly-identical diffs with the tests failing. |
Thanks guys, I was trying to do some modifications on the other PR and buried myself in failed tests. |
Tests failing with 422 Unprocessable Content |
which of the PRs should we be focusing on? :) interestingly, tests are currently failing in both, but with different status codes ( |
🤷🏻♂️ |
I've posted a fix to the failing test to the other PR, in a comment (didn't want to open a third PR :) ) |
Do we only need to add the |
Closing this, sorry was trying to help but pushed too fast and didn't see that CRD instanciation of the tests somehow behaved different and had a failure 🙈 |
yes looks like it, although the docs say
not yet familiar with the lib, this would only work with 1.27 so how would we go about exposing it? adding a |
I guess I would just add optional |
Fixes #138
@timbertson I have taken the liberty of simplifying the diff and correcting the tests in
WatchableTests
, were they ever passing?I need this exact pattern of retrieving the list and then watching from a revision @joan38, so I've done this so that this can maybe make the cut before the upcoming release? 🤞
Note that in the newer v1.27 beta API there is support for streaming lists: https://kubernetes.io/docs/reference/using-api/api-concepts/#streaming-lists which would be even better