Evgeniy Ganchurin
6dec044758
Issue-954 - Support false values in configuration file
2019-09-21 03:04:17 +03:00
Oz N Tiram
c941d74b37
Remove all shebangs from Python modules and checker
...
As discussed, Python modules which aren't intended to be invoked
as scripts should not include a shebang line.
Update CONTRIBUTING.md and the checker script.
This script now includes a list SKIP_FILES for files that
should not be checked for boilerplate template.
The tests will now fail if a Python module has a shebang line.
Scripts which should have a shebang line and exists in the directory
`hack` can be ignored by adding them to the SKIP_FILES list.
2019-08-27 22:18:52 +02:00
Richard Godden
ca007f3672
parse microseconds
2019-08-01 21:49:32 +01:00
Roger Hoem-Martinsen
6edea7b245
shorten down long line
2019-07-03 09:29:31 +02:00
Roger Hoem-Martinsen
26e16d0c70
Add azure config tests
2019-07-03 09:14:38 +02:00
Roger Hoem-Martinsen
30bc425271
fix bug and add method azure is expired
2019-07-03 09:14:03 +02:00
Haowei Cai (Roy)
487c9182c8
Merge pull request #79 from bpicolo/fix_base64_padding_for_kconfig
...
Fix base64 padding for kube config
2019-06-19 15:46:02 -07:00
Kubernetes Prow Robot
1d5231cee6
Merge pull request #110 from axelsteingrimsson/add_email_scope_to_gcp_credentials_refresh
...
Add email scope to GCP provided credential refresh
2019-04-08 13:26:27 -07:00
Ben Picolo
72a02cca50
Merge remote-tracking branch 'upstream/master' into fix_base64_padding_for_kconfig
2019-03-30 09:35:41 -04:00
Ben Picolo
b3ddbd903a
Add tests for updated pieces
2019-03-30 09:23:03 -04:00
Kubernetes Prow Robot
5c03b3b237
Merge pull request #94 from tomplus/feat/merge-kubeconfigs
...
feat: merging kubeconfig files
2019-03-18 10:22:31 -07:00
Tomasz Prus
328b2d1245
feat: merging kubeconfig files
2019-03-15 23:42:43 +01:00
Ben Picolo
4750aa9d36
Add additional checks + test case fixes
2019-02-18 15:24:38 -05:00
micw523
0229f0adb2
Restore one-line link
2019-02-11 17:11:37 -06:00
Neha Yadav
0fc0d404ac
Update pycodestyle
2019-02-08 02:46:07 +05:30
Kubernetes Prow Robot
8497dfb537
Merge pull request #107 from iamneha/verify-scripts
...
Verify-boilerplate script
2019-01-22 18:49:26 -08:00
Kubernetes Prow Robot
260f855a0b
Merge pull request #108 from iamneha/make-adal-optional
...
Make dependancy adal optional
2019-01-22 18:12:14 -08:00
Xavier Vello
13ff5184ac
linting
2019-01-08 10:50:01 +01:00
Xavier Vello
ebb49d02ed
Use safe_load and safe_dump for all yaml calls
2019-01-07 18:19:57 +01:00
axelsteingrimsson
1637d56364
Add email scope to GCP provided credential refresh
2018-12-12 13:41:58 +01:00
Neha Yadav
375befb15c
Make dependancy adal optional
2018-12-11 23:23:17 +05:30
Neha Yadav
d56fdbc0cc
Verify Boilerplate fix
2018-12-05 22:22:59 +05:30
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
Ben Picolo
529a72a2bf
Fix base64 padding for kube config
2018-07-30 15:26:42 -04: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