Commit Graph

15 Commits

Author SHA1 Message Date
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
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