Commit Graph

15 Commits

Author SHA1 Message Date
Damian Myerscough
cbe7ed5a02 Update requirements library for oidc auth (#331)
* Update requirements library for oidc auth

* Update requirements library for oidc auth
2017-08-30 03:21:53 -07:00
mbohlool
e447a955a0 Add requests requirement for gce config refresher 2017-07-21 14:50:54 -07:00
BoySherman
065335bc65 Updating requirement to ensure that a version of websocket greather than or equal to 0.32.0 is used 2017-07-20 09:22:53 +01:00
BoySherman
c4aac96342 Restricting the websocket-client to <=0.40, present PR allows for 0.44 which has again become broken 2017-07-19 13:15:22 +01:00
Spyros Trigazis
afe706d63a Remove oauth2client requirement (#286)
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>
2017-07-07 10:26:06 -07:00
Spyros Trigazis
ae7f2bc9dc Use oauth2 from google-auth
oauth2client is deprecated [1], use google-auth.

When kubernetes-client/base-python is updated to not use
oauth2client, remove oauth2client.

[1] https://github.com/google/oauth2client/releases (see Note)

Closes: #275

Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2017-07-06 18:31:15 +02:00
Mehdy Bohlool
3f7933050f Update requirements.txt 2017-04-26 13:58:52 -07:00
mbohlool
7aec646a6d Exclude urllib3 version 1.21 from depedencies as it breaks our code 2017-04-26 13:12:16 -07:00
mbohlool
bc33850424 Fix urllib3 dependency to <=1.20 2017-04-25 13:25:30 -07:00
Davanum Srinivas
8ac4254116 Sync requirements and add license info
Follow guidelines in:
https://packaging.python.org/requirements/

* Make sure the same list of packages are in setup.cfg and
  requirements.txt
* install_requires reqs in setup.cfg should be "Abstract" with
  no version information
* Add License information for each package

Fixes #131
2017-02-22 07:17:48 -05:00
Davanum Srinivas
066bba1802 Implementation for /exec using websocket
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
2017-02-07 16:48:26 -05:00
mbohlool
f6e417df60 Add ipaddress as a dependency. urllib3 will fix ssl ipaddress hostnames if this package exists 2016-11-23 13:36:33 -08:00
mbohlool
98e675ec3c Add dependency to a newer version of urllib3 that fixes ssl host check with ipaddress 2016-11-16 16:16:26 -08:00
mbohlool
033e180ff3 Add kube config support 2016-11-16 16:16:24 -08:00
mbohlool
69b1cb1a35 Generated client 2016-11-02 13:38:36 -07:00