Commit Graph

63 Commits

Author SHA1 Message Date
Haowei Cai
45f080ebe4 Add SECURITY_CONTACTS 2018-07-10 16:13:56 -07:00
Yu Liao
78472de0c9
Merge pull request #69 from mvle/master
remove required idp-certificate-authority-data in kubeconfig for oidc…
2018-06-06 14:28:41 -07:00
mvle
980f9b1042 remove required idp-certificate-authority-data in kubeconfig for oidc toke refresh, kubernetes-client/python#493
fix pep8 style
add unit test
2018-05-25 13:14:56 +00:00
Yu Liao
5784a38708
Merge pull request #64 from roycaihw/crd-watch
Watch properly decode resourceVersion from custom object response
2018-04-27 14:25:07 -07:00
Haowei Cai
38cc2658bc Watch properly decode resourceVersion from custom object response 2018-04-27 14:12:41 -07:00
Yu Liao
789de6a60d
Merge pull request #55 from flylo/flipped_sign
fixing flipped sign in expiry time padding
2018-04-05 09:52:46 -07:00
Zac Pustejovsky
3932d290f5 fixing flipped sign in expiry time padding 2018-04-05 10:05:42 -04:00
Yu Liao
2010e2d1ee
Merge pull request #48 from ltamaster/add-oidc-auth-support
Add oidc auth
2018-03-20 14:52:39 -07:00
Luis Toledo
5731554ed3 Merge remote-tracking branch 'upstream/master' into add-oidc-auth-support 2018-03-20 13:54:21 -03:00
Luis Toledo
111896107f Add support to OIDC auth
Fix for the `TypeError: Incorrect padding` error
Adding test with "mocked" variables

Persist the new token (refresh token) and add a not-ssl-verification for the refresh token call (i didn't find a way to pass the certificate to OAuth2Session

fixing the refresh-token problem (ssl certificate) and saving returning the new refresh-token

Fix test

fixing  coding style errors

Fixing test update-pep8

Fix test_oidc_with_refresh error
2018-03-19 19:13:51 -03:00
Mehdy Bohlool
11da619c9e
Merge pull request #47 from roycaihw/config_dup
Raise exception on duplicated name in kubeconfig
2018-02-26 15:18:38 -08:00
Haowei Cai
1c6be33604 get_with_name raises exception on name duplication in kubeconfig 2018-02-21 18:00:50 -08:00
Mehdy Bohlool
9aed5add59
Merge pull request #46 from roycaihw/url_update
Update client-python url
2018-02-12 16:35:37 -08:00
Haowei Cai
5b6e13f9bf Update client-python url 2018-02-12 16:11:05 -08:00
Mehdy Bohlool
6f02e73d80
Merge pull request #36 from lichen2013/keep_watch
Keep the watch action working forever
2018-01-09 16:23:29 -08:00
Mehdy Bohlool
13aa7cd1e2
Merge pull request #40 from jdartigalongue/master
Fix issue when refreshing service account token
2018-01-09 16:17:22 -08:00
Mehdy Bohlool
3d0ee69f4f
Merge pull request #39 from spiffxp/add-code-of-conduct
Add code-of-conduct.md
2018-01-09 16:12:43 -08:00
Jeremy Dartigalongue
b7b6e65285 Fix issue when refreshing service account token 2018-01-01 16:42:54 +00:00
Aaron Crickenberger
2052c4d7b6 Add code-of-conduct.md
Refer to kubernetes/community as authoritative source for code of conduct
2017-12-20 14:15:28 -05:00
Chen Li
aec1c5259a Update continue the watch with resource_version 2017-10-26 19:45:17 -05:00
Chen Li
8f7b490086 Add flag to enable keep the watch action working all the time
Fixes issue: https://github.com/kubernetes-incubator/client-python/issues/124
2017-10-26 02:14:31 -05:00
Mehdy Bohlool
9213876f0b Merge pull request #35 from mbohlool/master
Fix exec command parameter expansion
2017-10-18 16:17:33 -07:00
mbohlool
67a69d4656 Fix exec command parameter expansion 2017-10-11 17:17:09 -07:00
Mehdy Bohlool
a41c447152 Merge pull request #34 from kubernetes-client/b1
Change utility functions to use newly generated client
2017-10-09 17:09:17 -07:00
mbohlool
b7a9f4a07e Change utility functions to new set_default Configuration model, preparing to use swagger-codegen HEAD 2017-10-09 16:44:49 -07:00
Mehdy Bohlool
31e13b1f28 Merge pull request #33 from mbohlool/websocket
Add Websocket streaming support to base
2017-09-22 11:23:19 -07:00
mbohlool
86361f078d Add Websocket streaming support to base 2017-09-20 11:22:04 -07:00
Mehdy Bohlool
84d1284c9a Merge pull request #29 from pokoli/pool_maxsize
Use a higher value for connecion_pool_maxsize.
2017-08-23 01:22:11 -07:00
Sergi Almacellas Abellana
c38bc4d53a Use a higher value for connecion_pool_maxsize.
Fixes #26
2017-08-23 09:15:54 +02:00
Mehdy Bohlool
4127e1afa9 Merge pull request #28 from tomplus/reset_stop
fix: reset _stop when new stream is called
2017-08-20 20:32:38 -07:00
Tomasz Prus
c656764766 fix: reset _stop when new stream is called 2017-08-21 00:50:32 +02:00
Mehdy Bohlool
168c5e761f Merge pull request #15 from pokoli/proxy
Add http_proxy configuration with unittest
2017-07-25 12:54:59 -07:00
mbohlool
10d7016cb6 Use ConfigurationObject 2017-07-25 12:46:36 -07:00
Sergi Almacellas Abellana
a161197020 Add unitest for restclient PoolManager and http proxy 2017-07-25 14:49:15 +02:00
mbohlool
0fc7bbbefc added configuration 'http_proxy' to allow the usage of a proxy 2017-07-25 14:49:15 +02:00
Mehdy Bohlool
ab3fc54467 Merge pull request #22 from mbohlool/gce_config
Add proper GCP config loader and refresher
2017-07-25 03:25:47 -07:00
mbohlool
824c03c7ee Add proper GCP config loader and refresher 2017-07-25 03:17:32 -07:00
Mehdy Bohlool
00d2417a92 Merge pull request #24 from kubernetes-client/mbohlool-patch-1
Update README.md
2017-07-24 02:32:12 -07:00
Mehdy Bohlool
0ffb719637 Update README.md 2017-07-23 02:56:17 -07:00
Mehdy Bohlool
1110248545 Merge pull request #20 from jraby/add_ws_streaming_protocol
Add ws_streaming_protocol and use v4 by default
2017-07-19 04:47:53 -07:00
Jean Raby
a2ae2135ea Add ws_streaming_protocol and use v4 by default
To be sent in the Sec-WebSocket-Protocol http header by the ws_client.
2017-07-18 17:03:24 -04:00
Mehdy Bohlool
7f9231e9d0 Merge pull request #19 from yuvipanda/kubeconfig
Respect the KUBECONFIG environment variable if set
2017-07-13 18:50:47 -07:00
yuvipanda
ee4f01c6ff Respect the KUBECONFIG environment variable if set 2017-07-13 18:18:31 -07:00
Yuvi Panda
d301e200fb Allow setting maxsize for PoolManager (#18)
* Allow setting maxsize for PoolManager

* Only customize maxsize if config is explicitly not set to None
2017-07-08 22:28:10 -07:00
Spyros Trigazis
26cb526eaa Use oauth2 from google-auth (#16)
oauth2client is deprecated [1], use google-auth.

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

Related-Issue: https://github.com/kubernetes-incubator/client-python/issues/275

Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
2017-07-06 17:54:56 -07:00
Mehdy Bohlool
4318bc68c1 Merge pull request #17 from mbohlool/travis_fix
Fix travis CI failure
2017-07-06 17:28:35 -07:00
mbohlool
967b4bfb22 Fix travis CI failure 2017-07-06 16:52:45 -07:00
Mehdy Bohlool
feee797ca9 Merge pull request #9 from mbohlool/test
Add tox and travis support
2017-06-12 02:01:36 -07:00
Mehdy Bohlool
510db89cf7 Merge pull request #11 from mbohlool/doc
Update README file
2017-06-12 02:00:49 -07:00
mbohlool
b920b6b451 Update README file 2017-06-09 15:19:50 -07:00