You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... and away from the Python kubernetes client.
This diff looks big, but about half of it is tests, and most of the rest
is straightforward: creating TypedDicts for the responses, pulling the
relevant parsing functions out of transform.py and into the respective
from_json modules, and updating accesses to pull data from the dict
instead of from the kubernetes library models. Then updating
api_server.py and controllers.py to make use of the new structures.
The goal is to backport this to 2.4, because it's needed to be able to
pull out the new pod-level resources field eventually, since the version
of the Kubernetes library in 2.4 doesn't provide this field.
The new test cases were written by Claude though I have given them a
once-over.
Change-Id: I1cb1539090e2cbe9f018a247329a9c95a64a9a4d
0 commit comments