Version information comes from scripts/constants.py and is hard-coded to
kubernetes/__init__py by scripts/update-client.sh.
__project__ is just hard-coded.
Fixes#317
- Set Sec-WebSocket-Protocol header from cfg param
- Add ERROR and RESIZE websocket channels
As defined in pkg/kubelet/server/remotecommand/websocket.go
- Adjust tests to show v4 behavior wtr to status message
- Tweak read_all() to return only data from stdout and stderr.
In #278 google-auth was added in requirements and in [1]
python-base stopped using it.
Remove oauth2client requirement and update submodule commit.
[1] https://github.com/kubernetes-client/python-base/pull/16
Related-Issue: #275
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
* Drop the old Kubernetes on docker containers method as it
did not have a SSL enabled port
* Use localkube component from minikube instead. This enables
us to drop the hitch TLS proxy as well.
* E2E tests should be easy to run locally and pick up configuration
from ~/.kube/config
* Consolidate the urls in one spot (base.py), also consolidate the
SkipTest in one spot.
* For local testing, just run minikube and run the py27 or py34 tox
target, that should run all the tests including the e2e tests.
* Fix the connect_post_namespaced_pod_exec and add a e2e test for it
Fixes#122
inspired by the POC from @chekolyn
* Adds a new requirement on websocket-client
* Add a new class WSClient that uses WebSocketApp from
the websocket-client.
* Make sure we pass Authorization header
* Make sure we honor the SSL settings in configuration
* Some of the code will get overwritten when we generate
fresh classes from swagger definition. To remind us
added a e2e test so we don't lose the changes
* Added a new configuration option to enable/disable failures
when hostnames in certificates don't match
Fixes#58
Use hitch tls proxy to listen on 8443 port and forward the
traffic to 8080. Add a configuration option to ignore any
issues with host names as we don't generate the cert on the
fly.