Xavier Vello
ebb49d02ed
Use safe_load and safe_dump for all yaml calls
2019-01-07 18:19:57 +01:00
k8s-ci-robot
879ab0124f
Merge pull request #45 from bran-wang/master
...
Fix trailing slash on kube/config failure #388
2018-11-12 10:21:11 -08:00
Trevor Edwards
8f3a69ea10
Refresh GCP tokens on retrieval by overriding client config method.
2018-11-02 13:40:16 -07:00
k8s-ci-robot
8d7b6f7dc3
Merge pull request #91 from fillbit/handle-null-optional-values
...
ExecProvider errors when parsing null values
2018-10-12 09:31:43 -07:00
Phil Hoffman
3682e9b052
*Update ExecProvider to use safe_get()
...
*Update unit tests to use ConfigNode() instead of dict()
2018-10-10 21:31:31 -04:00
Luiz Eduardo
260d257939
Fix Issue-60: Replace encodestring and decodestring for standard_b64encode and standard_b64decode.
2018-10-10 09:08:48 +02:00
Tomasz Prus
9d78cd794c
fix: read config data with bytes (python3)
2018-09-18 22:12:28 +02:00
Dov Reshef
becae56634
Add partial support for out-of-tree client authentication providers (token only, no caching)
2018-09-06 12:28:50 +03:00
Brendan Burns
96767a3b82
Add support for refreshing Azure tokens.
2018-07-23 14:22:02 -07:00
Brendan Burns
1be91e32bc
Refactor auth-provider code paths a little. Add Azure support.
2018-07-17 22:02:17 -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
Zac Pustejovsky
3932d290f5
fixing flipped sign in expiry time padding
2018-04-05 10:05:42 -04: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
Haowei Cai
1c6be33604
get_with_name raises exception on name duplication in kubeconfig
2018-02-21 18:00:50 -08:00
bran-wang
bc51a01453
Fix trailing slash on kube/config failure #388
2018-02-12 13:05:06 +08:00
Jeremy Dartigalongue
b7b6e65285
Fix issue when refreshing service account token
2018-01-01 16:42:54 +00: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
mbohlool
824c03c7ee
Add proper GCP config loader and refresher
2017-07-25 03:17:32 -07:00
yuvipanda
ee4f01c6ff
Respect the KUBECONFIG environment variable if set
2017-07-13 18:18:31 -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
mbohlool
bb49e2c433
Update pep8
2017-06-09 13:22:08 -07:00
Sergi Almacellas Abellana
6f9322d212
Use no user when the especified user is not found in the users section
2017-06-07 11:22:05 +02:00
Sergi Almacellas Abellana
7adf7e280d
Use no user when the users section is missing in kubeconfig
...
Fixes kubernetes-incubator/client-python#236
2017-06-05 12:47:05 +02:00
mbohlool
3b44c3b6a9
Remove loop symlinks
2017-05-19 16:46:39 -07:00
mbohlool
ecb8afa69f
Copy over base folder of python-client
2017-05-12 11:08:29 -07:00