Haowei Cai
a7c78291bf
add old api_key to set auth attributes
2020-07-16 00:38:24 -07:00
Kubernetes Prow Robot
ded3d12e04
Merge pull request #133 from mitar/retry-watch
...
Retry expired watches
2020-07-15 12:30:37 -07:00
Mitar
06e48c585c
Retry watch if request expires.
2020-07-15 12:27:32 -07:00
Kubernetes Prow Robot
3ea80032c3
Merge pull request #198 from ACXLM/fix/load-kube-config
...
fix cfg is none, load kube config error
2020-06-25 10:10:38 -07:00
ACXLM
30d9e2af1c
change test case
2020-06-25 20:53:29 +08:00
Kubernetes Prow Robot
70d6639963
Merge pull request #200 from roycaihw/fix/pycodestyle
...
Run scripts/update-pycodestyle.sh to fix the pycodestyle test failure
2020-06-22 16:19:40 -07:00
Haowei Cai
982de11392
generated by scripts/update-pycodestyle.sh in main repo
2020-06-22 16:08:20 -07:00
Kubernetes Prow Robot
a6a627325b
Merge pull request #195 from vishnu667/kubeConfig_from_dict
...
Adding ability to set kube config from a dict.
2020-06-19 12:44:43 -07:00
vishnu667
91812350e4
updated docstring for load_kube_config_from_dict
2020-06-20 00:50:39 +05:30
ACXLM
3ff79da50c
fix cfg is none, load kube config error
...
Signed-off-by: zhu hui <hui.zhu@daocloud.io>
2020-06-02 13:55:43 +08:00
vishnu667
52a3bdc159
removing load from dict presist from the added test cases.
2020-05-22 00:57:46 +05:30
vishnu667
6c327377e8
test case fix __get_kube_config_loader_dict_no_persist
2020-05-22 00:05:15 +05:30
vishnu667
c6e8194127
Adding config to init file and indentation fixes
2020-05-15 22:14:22 +05:30
vishnu667
e92495f0d1
Adding test Cases
2020-05-15 20:37:36 +05:30
vishnu667
27a1b811d4
Re-using the _get_kube_config_loader in _get_kube_config_loader_for_yaml_file
2020-05-14 16:13:47 +05:30
vishnu667
ab515103d8
Adding ability to pass kube_config as a dict.
2020-05-14 07:44:54 +05:30
Kubernetes Prow Robot
49ec06096e
Merge pull request #193 from zshihang/master
...
allow incluster to accept pass-in config
2020-05-13 15:44:22 -07:00
Shihang Zhang
0b1ac80470
allow incluster to accept pass-in config
2020-05-13 14:57:27 -07:00
Kubernetes Prow Robot
bf5c599871
Merge pull request #191 from zshihang/master
...
set expiration on token of incluster config and reload if expires
2020-04-27 14:48:05 -07:00
Shihang Zhang
3cfc41ea9e
set expiration on token of incluster config and reload if expires
2020-04-22 09:35:37 -07:00
Kubernetes Prow Robot
b87a5fe119
Merge pull request #185 from roycaihw/watch-unmarshal
...
watch stream: don't unmarshal responses when streaming log
2020-03-03 10:31:38 -08:00
Kubernetes Prow Robot
d30f1e6fd4
Merge pull request #184 from fooka03/bugfix/179
...
Fix apiserver_id 'get' method
2020-02-21 15:38:47 -08:00
Haowei Cai
ea11e44daf
watch stream: stop unmarshalling when streaming log
2020-02-21 15:19:35 -08:00
Kubernetes Prow Robot
7e7976b9ff
Merge pull request #171 from Ark-kun/patch-1
...
Fixed Watch.unmarshal_event when data is not a JSON-serialized object
2020-02-21 14:08:48 -08:00
Kubernetes Prow Robot
ff9a5f35a1
Merge pull request #169 from jfrabaute/save
...
config: Fix persist_config flag and function calls
2020-02-21 13:36:47 -08:00
Nigel Foucha
faf2e0c2db
Fix apiserver_id 'get' method
2020-02-20 19:20:44 -05:00
Kubernetes Prow Robot
a25f49eb41
Merge pull request #152 from sergei-maertens/master
...
Refs. #151 -- detect binary payloads and send the correct opcode
2020-02-13 17:08:17 -08:00
Fabrice Rabaute
64662bb738
config: Fix persist_config flag and function calls
...
The persist_config flag was setting the kwargs['config_persister'] to
the result of the function kcfg.save_changes and not the function
kcfg.save_changes itself.
Once this is fixed, the second problem was that the function was called
with an argument when it's defined without argument so an exception was
raised.
2020-01-14 14:23:16 -08:00
Kubernetes Prow Robot
7ea5cb4d76
Merge pull request #175 from jfrabaute/cmdpath
...
Add option to refresh gcp token when config is cmd-path
2020-01-08 11:37:40 -08:00
Fabrice Rabaute
39113de2aa
Add option to refresh gcp token when config is cmd-path
2020-01-08 11:28:23 -08:00
Kubernetes Prow Robot
278105efc6
Merge pull request #178 from rawler/optional-capture-all
...
stream+ws_client: Optional capture-all
2020-01-06 12:16:16 -08:00
Ulrik Mikaelsson
368d0d7b1e
ws_client: Add option to disable capture-all
2019-11-27 13:45:52 +01:00
Ulrik Mikaelsson
ced17c6881
stream/ws_client: Use StringIO for WSClient._all
...
bytes() += bytes() copies both buffers into a new one, causing exponential
cost and gradual slow-down. Replacing with StringIO improves that
2019-11-27 13:45:52 +01:00
Kubernetes Prow Robot
a2d1024524
Merge pull request #173 from palnabarun/ci-add-python-3.8
...
Adds Python 3.8 environment to Travis CI for running the tests
2019-10-22 11:22:13 -07:00
Kubernetes Prow Robot
51157aa504
Merge pull request #172 from palnabarun/118-ci-boilerplate-seperation
...
Runs hack/* scripts as individual build step
2019-10-22 10:58:12 -07:00
Nabarun Pal
4e84e7d456
Adds Python 3.8 to the Travis CI test jobs
2019-10-22 00:53:04 +05:30
Nabarun Pal
5f395ba57b
Runs hack/* scripts as individual build step
2019-10-20 01:48:02 +05:30
Alexey Volkov
f11587d0e3
Fixed Watch.unmarshal_event when data is not a JSON-serialized object
...
Fixes https://github.com/kubernetes-client/python/issues/982
Fixes https://github.com/kubernetes-client/python/issues/983
2019-10-17 17:40:20 -07:00
Kubernetes Prow Robot
6b65461312
Merge pull request #170 from fooka03/bugfix/135_azure_refresh_token
...
Fix azure refresh token apiserver id
2019-10-09 09:29:50 -07:00
Nigel Foucha
0b208334ef
Dynamically load apiserver id from kube config
2019-10-09 11:37:40 -04:00
Kubernetes Prow Robot
afd13018c4
Merge pull request #167 from oz123/replace-nose-with-pytest
...
Migrate to pytest
2019-10-02 14:20:07 -07:00
Oz Tiram
a4f249b48a
Migrate to pytest
...
travis
2019-10-02 20:32:27 +02:00
Kubernetes Prow Robot
9f73cc68c1
Merge pull request #163 from goddenrich/kube-configs-with-no-contexts-clusters-users
...
Merging configs with missing fields
2019-09-24 14:55:57 -07:00
Kubernetes Prow Robot
c700068ed6
Merge pull request #161 from ganchurin/issue-954
...
Support false values in configuration file
2019-09-24 14:49:58 -07:00
Haowei Cai (Roy)
f2ae80b53a
Merge pull request #164 from fabianvf/explict-crd-apiversion
...
Use explicit API version for retrieving CRD API
2019-09-24 12:14:33 -07:00
Fabian von Feilitzsch
8ef5857bda
Use explicit API version for retrieving CRD API
2019-09-24 09:41:24 -04:00
Kubernetes Prow Robot
6ca7a5b732
Merge pull request #157 from AyliD/patch-1
...
Update ws_client.py to support proxy
2019-09-23 18:39:25 -07:00
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
Evgeniy Ganchurin
6dec044758
Issue-954 - Support false values in configuration file
2019-09-21 03:04:17 +03:00