Haowei Cai
1ffa61d065
add a test for default configuration behavior
2020-11-06 01:11:07 +05:30
Nabarun Pal
0d971eb78a
Update constants to reflect Client release 12.0.1
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-16 03:44:34 +05:30
Nabarun Pal
2438ec0efa
Update submodule
...
Old: fd322f70aa
New: 2da2b981ca
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-16 03:43:12 +05:30
Fabian von Feilitzsch
e74589786f
Add test to ensure kubernetes client threadpool is cleaned up
2020-10-14 21:20:52 +05:30
Nabarun Pal
1460b1fb3e
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Nabarun Pal
ca17df68f4
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Nabarun Pal
5a67dd973a
Remove tests
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Nabarun Pal
96a86936bc
Generate updated client
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-14 21:20:51 +05:30
Tao He
0fc8aa228d
Fixes for code format.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-10-14 21:20:50 +05:30
Tao He
b5ec617e82
Returns the created k8s objects in create_from_{dict,yaml}.
...
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-10-14 21:20:50 +05:30
Dylan Shepard
fbef9f1ef0
updating base for file-like config load support
2020-10-14 21:16:26 +05:30
Andreas Unterkircher
3459fe2cf2
remove duplicate-lines from kubernetes/README.md
2020-10-14 21:16:26 +05:30
Patrick J. McNerthney
bccdc73c3f
Update kubernetes/base to latest master with portforwarding implementation.
2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
52f31ace7d
Support both python 2.7 and 3.x.
2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
b4db6d0ef1
Add test that checks for portforward port error return value.
2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
c819a810d6
Rework port forwarding unittest and example.
2020-10-14 21:16:25 +05:30
Patrick J. McNerthney
d12a9a5717
Unittests and example for portforwarding ability added in python-base.
2020-10-14 21:16:24 +05:30
Nabarun Pal
0e9ba9494f
Cherry pick test for API client context manager
...
The implementation and tests were already picked up by the upstream OpenAPI
generator [here](https://github.com/OpenAPITools/openapi-generator/pull/5094 ).
Patching in the tests here for correctness and clarity.
Reference: https://github.com/kubernetes-client/python/pull/1073
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:52 +05:30
Nabarun Pal
aad4b97f2c
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:43 +05:30
Nabarun Pal
a08107f465
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:29 +05:30
Nabarun Pal
b4fb2c9b78
Generate updated client
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-08-19 18:31:11 +05:30
Nabarun Pal
23fa8ffcbe
Merge branch 'master' of github.com:kubernetes-client/python into release-12.0
2020-08-18 22:55:16 +05:30
Scott Lee
9da9a6dd98
Minor fixes
2020-07-30 12:47:24 -07:00
Scott Lee
e700e97fd1
Remove py-e files
2020-07-30 11:07:08 -07:00
Graham Reed
5424e17c85
Update python base
...
To get auth plugin support for client certificates, ref. kubernetes-client/python-base#205
2020-07-30 18:22:48 +01:00
Scott Lee
40bd9f1c3d
Remove gitlab yml file
2020-07-29 23:12:18 -07:00
Scott Lee
e36e95597b
Cherry-pick hotfixes
2020-07-29 23:09:32 -07:00
Scott Lee
3e57e12757
Generate client and remove tests directory
2020-07-29 23:08:23 -07:00
Nabarun Pal
9a20c56cd5
Updates python-base submodule
...
Update from 49ec06096e to fb86b8acb6
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-17 04:06:00 +05:30
Nabarun Pal
dae8285878
Cherry pick test for API client context manager
...
The implementation and tests were already picked up by the upstream OpenAPI
generator [here](https://github.com/OpenAPITools/openapi-generator/pull/5094 ).
Patching in the tests here for correctness and clarity.
Reference: https://github.com/kubernetes-client/python/pull/1073
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
146119213c
Add kubernetes.client.apis as an alias to kubernetes.client.api
...
Reference: https://github.com/kubernetes-client/python/issues/974
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
b78f5cfd6e
Fix custom objects API to preserve backward compatibility
...
Reference:
- [#866 ](https://github.com/kubernetes-client/python/issues/866 )
- [#959 ](https://github.com/kubernetes-client/python/pull/959 )
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:40 +05:30
Nabarun Pal
ec9c944f07
Remove tests since they have syntactical issues and are noop
...
Reference: https://github.com/OpenAPITools/openapi-generator/issues/5377
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:39 +05:30
Nabarun Pal
b4d11b02a3
Update client with OpenAPI generator v4.3.0
...
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-16 13:42:39 +05:30
ACXLM
17dc22ed58
update python base
2020-06-26 12:23:41 +08:00
Shihang Zhang
f7d0f126b4
update python-base
2020-05-13 15:45:49 -07:00
Nabarun Pal
739665e677
Apply hotfixes
2020-04-03 01:47:30 +05:30
Nabarun Pal
c206745dcd
Generate updated client
2020-04-03 01:46:00 +05:30
Nabarun Pal
86f3a8ec96
Update the base submodule
...
CHANGELOG
---
- Logs are no longer unmarshalled when streaming [kubernetes-client/python-base#185 ](https://github.com/kubernetes-client/python-base/pulls/185 )
2020-03-30 22:03:19 +05:30
dasydong
2f34a1ce94
Run spell check tools to fix typos:
...
gihub > github
hehavior > behavior
quanity > quantity
2020-03-24 15:53:59 +08:00
Kubernetes Prow Robot
1fa9f89c39
Merge pull request #1087 from roycaihw/watch-e2e
...
add basic watch configmap e2e test
2020-03-02 13:43:38 -08:00
Haowei Cai
f452d0cef6
add basic watch configmap e2e test
2020-03-02 13:34:01 -08:00
Nigel Foucha
4d1896cb52
Merge apiserver_id get fix from python-base
2020-02-23 14:04:23 -05:00
Fabian von Feilitzsch
13dffb8976
Add test to ensure kubernetes client threadpool is cleaned up
2020-02-06 12:55:39 -05:00
Fabian von Feilitzsch
18d21df367
Cleanup ThreadPool with atexit rather than __del__
...
This removes the __del__ function from the generated Python client,
and replaces it with a cleanup function. When a ThreadPool is created,
the cleanup function is registered with the atexit module.
This PR also allows the client to be used as a context manager, which
will automatically clean up after itself rather than having to wait til
process exit.
This fixes issue #1037 , where the API client could hang indefinitely at
garbage collection.
2020-02-06 12:08:51 -05:00
Kubernetes Prow Robot
96766c2d59
Merge pull request #1035 from micw523/enable-dynamic
...
Enables the use of dynamic client
2020-01-06 10:16:17 -08:00
Kubernetes Prow Robot
3634a72ddc
Merge pull request #1007 from cclauss/patch-1
...
Use ==/!= to compare str, bytes, and int literals
2019-12-23 11:23:33 -08:00
Kubernetes Prow Robot
b871710b8b
Merge pull request #1036 from micw523/api
...
Fix deprecation warning in e2e tests
2019-12-18 14:27:12 -08:00
micw523
02232a2e22
Change apis to api
2019-12-18 15:38:27 -06:00
micw523
6a27be5cd2
enable dynamic client
2019-12-18 15:18:20 -06:00