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
KubernetesServer CRUD mode and informers #2306
Labels
Comments
Right now Reflector seems to be failing since list returned by mockwebserver seems to have null metadata: Line 95 in 55cf52c
However, a real Kubernetes server returns metadata too:
Anyone who wants to fix this issue needs to update this method with metadata updated: Lines 39 to 44 in 55cf52c
|
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Jul 24, 2020
…mers This is addressed by making sure that MockWebServer returns a metadata object for list queries. Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Jul 24, 2020
Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
Thanks @rohanKanojia. I'll send over a PR soon. |
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 10, 2020
…mers This is addressed by making sure that MockWebServer returns a metadata object for list queries. Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 10, 2020
Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 10, 2020
…mers This is addressed by making sure that MockWebServer returns a metadata object for list queries. Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 10, 2020
Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
11 tasks
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 18, 2020
…mers This is addressed by making sure that MockWebServer returns a metadata object for list queries. Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
lalithsuresh
added a commit
to lalithsuresh/kubernetes-client
that referenced
this issue
Aug 18, 2020
Signed-off-by: Lalith Suresh <lsuresh@vmware.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to make informers work with the CRUD API. The current behavior seems to break with the reflector code within the informer. For example:
Leads to the following NPE in the reflector....
Which in turn happens because the list type (PodList) that the reflector gets back has a null metadata object:
The text was updated successfully, but these errors were encountered: