Commit Graph

102 Commits

Author SHA1 Message Date
Roy Lenferink
4d387d5879 Updated OWNERS to include link to docs 2019-02-04 19:01:16 +01:00
Kubernetes Prow Robot
2d69e89dab
Merge pull request #109 from juliantaylor/fix-watch-reset
fix watching with a specified resource version
2019-01-23 13:10:58 -08:00
Julian Taylor
3c30a30993 fix watching with a specified resource version
The watch code reset the version to the last found in the
response.
When you first list existing objects and then start watching from that
resource version the existing versions are older than the version you
wanted and the watch starts from the wrong version after the first
restart.
This leads to for example already deleted objects ending in the stream
again.

Fix this by setting the minimum resource version to reset from to the
input resource version. As long as k8s returns all objects in order in
the watch this should work.
We cannot use the integer value of the resource version to order it as
one should be treat the value as opaque.

Closes https://github.com/kubernetes-client/python/issues/700
2019-01-23 19:38:44 +01:00
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
Kubernetes Prow Robot
bd9a8525e9
Merge pull request #111 from xvello/xvello/safe_load
Use yaml.safe_load and yaml.safe_dump
2019-01-08 13:00:17 -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
Neha Yadav
375befb15c Make dependancy adal optional 2018-12-11 23:23:17 +05:30
Kubernetes Prow Robot
5c242ead60
Merge pull request #100 from micw523/master
Travis CI for Python 3.7
2018-12-06 18:06:29 -08:00
Neha Yadav
d56fdbc0cc Verify Boilerplate fix 2018-12-05 22:22:59 +05:30
Neha Yadav
86ae2de36f Add verify-boilerplate script 2018-12-05 22:22:10 +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
micw523
2f3247b837 Travis CI for Python 3.7 2018-11-09 20:22:11 -06:00
k8s-ci-robot
949c39e662
Merge pull request #92 from TrevorEdwards/59_override
Refresh GCP tokens on retrieval by overriding client config method.
2018-11-02 14:12:49 -07: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
4da0fcc1e1
Merge pull request #99 from micw523/update-ubuntu-ver
Fix for Travis CI failing on python-base
2018-11-02 13:17:19 -07:00
micw523
be621d3d32
Fix for Travis CI failing on python-base 2018-11-02 15:00:22 -05:00
k8s-ci-robot
83ebb9d5fd
Merge pull request #95 from micw523/master
Pep8 has been renamed to pycodestyle
2018-10-29 14:23:08 -07:00
micw523
13d5711014 pep8 to pycodestyle 2018-10-27 02:35:12 -05: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
k8s-ci-robot
2d514ce31d
Merge pull request #90 from dechristo/Issue-634
Replace base64.decodestring for base64.standard_b64decode
2018-10-10 12:30:54 -07: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
k8s-ci-robot
7d1e4495a8
Merge pull request #86 from tomplus/fix/config-bytes
fix: read config data with bytes (python3)
2018-09-19 13:25:31 -07:00
Tomasz Prus
9d78cd794c fix: read config data with bytes (python3) 2018-09-18 22:12:28 +02:00
k8s-ci-robot
d68e456190
Merge pull request #75 from dovreshef/master
Attempt to implement exec-plugins support in kubeconfig
2018-09-06 10:01:02 -07: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
k8s-ci-robot
c9b3113216
Merge pull request #83 from spiffxp/update-design-docs-link
Remove link to kubernetes-client/community
2018-08-23 11:05:07 -07:00
Aaron Crickenberger
c037d14f91 Remove link to kubernetes-client/community
Point directly to the file that the kubernetes/community link was
pointing to
2018-08-23 10:51:03 -07:00
Yu Liao
07ef626368 added OWNERS file. 2018-08-06 10:13:34 -07:00
Haowei Cai (Roy)
24a0ff2b86
Merge pull request #77 from brendandburns/master
Add support for refreshing Azure tokens.
2018-07-23 14:39:48 -07:00
Brendan Burns
96767a3b82 Add support for refreshing Azure tokens. 2018-07-23 14:22:02 -07:00
Haowei Cai (Roy)
7359cdae5a
Merge pull request #76 from nikhita/contributing.md
Add CONTRIBUTING.md
2018-07-19 10:19:13 -07:00
Nikhita Raghunath
52a44a92b8 Add CONTRIBUTING.md 2018-07-19 11:31:27 +05:30
Haowei Cai (Roy)
e8c0d98ad4
Merge pull request #74 from brendandburns/master
Refactor auth-provider code paths a little. Add Azure support.
2018-07-18 10:22:46 -07:00
Brendan Burns
1be91e32bc Refactor auth-provider code paths a little. Add Azure support. 2018-07-17 22:02:17 -07:00
Yu Liao
595ee0d23b
Merge pull request #73 from roycaihw/security-contacts
Add SECURITY_CONTACTS
2018-07-10 16:50:57 -07:00
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