-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Error when trying to retrieve api versions #418
Labels
Comments
mbohlool
added
kind/bug
Categorizes issue or PR as related to a bug.
help-needed
labels
Dec 18, 2017
This is the same underlying issue as #394. The HTTP response the server is sending contains |
For anyone else experiencing this error, I was able to get expected behavior with the following monkeypatch from kubernetes.client.models.v1_api_group import V1APIGroup
def fix_api_group_null_value():
_server_address_by_client_cid_rs = V1APIGroup.server_address_by_client_cid_rs
@_server_address_by_client_cid_rs.setter
def _server_address_by_client_cid_rs(self, server_address_by_client_cid_rs):
self._server_address_by_client_cid_rs = server_address_by_client_cid_rs
V1APIGroup.server_address_by_client_cid_rs = _server_address_by_client_cid_rs |
3 tasks
dup of #394 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I seem to be getting a ValueError exception trying to list apis versions using client version: 4.0.0b1 on a kubernetes: 1.7.8 cluster.
I'm simply following the example in example3.py
works fine, but the next one fails
The value itself seems pretty foreign so I attempt the same kind of call using kubectl with --v=8 and check the output
I'm unsure if I'm doing something drastically wrong here or whether this is a genuine bug. I assume the latter since I'm following an example provided with the client, but I'm open to being wrong as well :)
Thanks in advance!
The text was updated successfully, but these errors were encountered: