Richard Godden
7ce0198af2
default empty dict
2019-09-23 17:57:50 +01:00
Richard Godden
4ea69211e3
added test that should fail
2019-09-23 17:43:20 +01:00
Kubernetes Prow Robot
af42f24d72
Merge pull request #158 from qlemaire22/master
...
Check is not None in safe_get
2019-09-20 13:41:27 -07:00
Quentin Lemaire
a29bf292cc
Add checks for None config file
2019-09-19 09:34:21 +02:00
Kubernetes Prow Robot
5092d96134
Merge pull request #160 from oz123/exit_code
...
Add property returncode to WSClient
2019-09-18 14:17:00 -07:00
Oz Tiram
69570ac708
Add property returncode to WSClient
...
This will be familiar for Python users as subprocess.Popen has
the same attribute. Also, the behavior is such the returncode returns
a None value if the process was not run yet.
Other than that, when the process exists with a numerical code this will
be the value of the return code. If the command executed successfully
the return value will be 0.
2019-09-17 17:23:46 +02:00
Kubernetes Prow Robot
4c1ab55553
Merge pull request #155 from oz123/remove-shebangs
...
Remove all shebangs from Python modules and checker
2019-08-29 13:06:58 -07: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
Kubernetes Prow Robot
4b8e89f95d
Merge pull request #56 from fabianvf/dynamic-client
...
Dynamic Client
2019-08-12 11:01:13 -07:00
Fabian von Feilitzsch
53c4cb23a3
Add boilerplate
2019-08-09 21:38:40 -04:00
Fabian von Feilitzsch
5b21d65aae
Add tests for dynamic client
2019-08-09 21:38:40 -04:00
Fabian von Feilitzsch
461a3bf7ce
Add dynamic client
2019-08-09 21:38:26 -04:00
Kubernetes Prow Robot
ec31e05c90
Merge pull request #150 from goddenrich/fix-miliseconds-rfc3339-re
...
corrected regex to properly parse microseconds
2019-08-01 13:58:15 -07:00
Richard Godden
ca007f3672
parse microseconds
2019-08-01 21:49:32 +01:00
Kubernetes Prow Robot
4f7bcfaa91
Merge pull request #148 from micw523/patch-1
...
Remove sudo for Travis CI
2019-07-30 14:35:52 -07:00
micw523
e1f0bed5c0
Remove sudo for Travis CI
2019-07-30 17:11:45 -04:00
Kubernetes Prow Robot
06c26300bc
Merge pull request #145 from fabianvf/docutils-py3
...
Generate docs in python3
2019-07-24 10:44:15 -07:00
Fabian von Feilitzsch
7d98f28b68
Generate docs in python3
2019-07-24 13:22:06 -04:00
Kubernetes Prow Robot
95858d5ce8
Merge pull request #141 from rogerhmar/fix_issue_84
...
Fix issue 84: Update _load_azure_token to hande str and int
2019-07-08 16:06:02 -07:00
Kubernetes Prow Robot
8b748a70de
Merge pull request #127 from oz123/drop-python-34
...
Drop Python3.4
2019-07-08 12:08:35 -07: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
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
Oz N Tiram
511243a341
Drop Python3.4
...
Python 3.4 has become EOL on March 18, 2019.
https://www.python.org/dev/peps/pep-0429/
2019-04-05 21:21:04 +02: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