Commit Graph

126 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
474e9fb322
Merge pull request #104 from saberuster/master
decode add a replace option
2019-06-20 17:10:36 -07: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
Kubernetes Prow Robot
c4de8bdf40
Merge pull request #93 from mitar/watch_and_logs
Making watch work with read_namespaced_pod_log
2019-03-14 15:33:31 -07:00
Mitar
972a76a83d Don't use break inside finally.
It swallows exceptions.
2019-02-20 23:56:38 -08:00
Mitar
ad06e5c923 Added tests. 2019-02-18 16:43:50 -08:00
Ben Picolo
4750aa9d36 Add additional checks + test case fixes 2019-02-18 15:24:38 -05:00
Kubernetes Prow Robot
e077f886ed
Merge pull request #114 from rlenferink/patch-owners
Updated OWNERS to include link to docs
2019-02-17 10:22:41 -08:00
Mitar
8e6f0435a3 Making watch work with read_namespaced_pod_log.
Fixes https://github.com/kubernetes-client/python/issues/199.
2019-02-11 23:10:33 -08:00
Kubernetes Prow Robot
d2ac885c33
Merge pull request #116 from micw523/one-line-link
Restore one-line link
2019-02-11 15:22:18 -08:00
micw523
0229f0adb2
Restore one-line link 2019-02-11 17:11:37 -06:00
Kubernetes Prow Robot
f30d840d3b
Merge pull request #115 from iamneha/pycodestylw
Update pycodestyle
2019-02-07 13:35:20 -08:00
Neha Yadav
0fc0d404ac Update pycodestyle 2019-02-08 02:46:07 +05:30
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
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
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
saberuster
15474efbaf fix #88 2018-11-26 20:53:25 +08: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
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