Commit Graph

235 Commits

Author SHA1 Message Date
itaru2622
a66bb80f53 add no_proxy support to configuration and REST client. 2021-10-25 09:57:47 -07:00
Haowei Cai
068a541d88 generated client change 2021-10-24 21:01:41 -07:00
Haowei Cai
4b9800266b Merge branch 'master' of github.com:kubernetes-client/python into automated-release-of-19.15.0-upstream-release-19.0-1635134453 2021-10-24 21:00:55 -07:00
itaru2622
0449056620 update python-base commithash 2021-10-19 07:35:25 +09:00
itaru2622
95a893cd1c add no_proxy support to configuration and REST client. 2021-10-19 07:19:14 +09:00
itaru2622
4f67f8a0c1 update python-base 2021-10-11 14:37:54 +09:00
Haowei Cai
9c829a736e generated client change 2021-10-10 19:04:45 -07:00
Kubernetes Prow Robot
be51b01fbc
Merge pull request #1529 from hedrox/bug-rc-delete
Fix replication controller pods delete in tests
2021-10-08 18:36:37 -07:00
Andrei Marin
740cda6998
Fix replication controller pods delete in tests 2021-10-06 22:04:26 +03:00
Andrei Marin
4cb2a51021
Run autopep8 on e2e test files 2021-10-06 22:04:25 +03:00
Haowei Cai
d66b8fa487 generated client change 2021-09-20 09:56:28 -07:00
Haowei Cai
7a45195166 generated python-base update 2021-09-19 18:16:38 -07:00
Haowei Cai
ba844599ab generated client change 2021-09-13 12:59:17 -07:00
Haowei Cai
c04e2f6ed0 generated API change 2021-09-13 12:59:16 -07:00
Scott Lee
4dec14919a Update release-18.0 submodule 2021-08-05 15:09:45 -06:00
Matt Campbell
13814c0f7e Allow optional list of YAML objects as param to create_from_yaml util 2021-07-19 14:23:14 -04:00
Huan-Ting,Chen
65a0ffc844 Fix empty yaml document error 2021-07-17 16:41:16 +08:00
Jason Price
ee0e332776 tolerate null sources on projected volumes
See issue 1494
Removes the false requirement that sources be a populated list
2021-06-21 13:21:20 -04:00
Nabarun Pal
4fd43bc909
Apply hotfixes
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30
Nabarun Pal
c55930bb50
Generate updated client 18.0.0-snapshot
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30
Nabarun Pal
73f119aa7a
Skipping TestClient::test_portforward_raw due to flakiness
The test is flaking a lot resulting in dev work to be slowed down.
This needs to be investigated and resolved. Only then, the test
should be reenabled.

See: https://github.com/kubernetes-client/python/issues/1300

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-05-28 22:49:17 +05:30
Haowei Cai
682dfa26d7 generated python-base update 2021-05-09 14:16:11 -07:00
abhiabhi94
44fe8bf1c2 Refactor utils
- move regex compilation to the top of the module to enable caching.
2021-03-10 08:15:32 +05:30
Chris Ayoub
fdd2e14c60 Update base submodule 2021-02-25 19:00:06 -05:00
Invictus17
a6655d6eba Adding symbolic link to base/leaderelection 2021-02-04 21:23:37 -05:00
Sumant
6eb9f7d9dc Adding module leaderelection from base 2021-02-01 17:03:44 -05:00
Sumant
bd26d85e84 Enable leaderelection 2021-01-28 18:50:23 -05:00
Haowei Cai
90931037ac pod e2e: wait for the default service account to be created 2021-01-12 17:18:42 -08:00
Haowei Cai
3b95adc8f3 configmap-e2e: use labels 2021-01-11 12:34:14 -08:00
Haowei Cai
5be9c893b3 update python-base submodule 2021-01-05 09:53:49 -08:00
Patrick J. McNerthney
fd405e813d Implement back end raw port test container using python. 2020-11-22 10:26:43 -10:00
Haowei Cai
a80b3f51a6
add a test for default configuration behavior 2020-11-07 16:10:09 +05:30
Fabian von Feilitzsch
0eb5f0f5e9
Add test to ensure kubernetes client threadpool is cleaned up 2020-11-07 16:10:09 +05:30
Nabarun Pal
56ab983036
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-11-07 16:10:09 +05:30
Nabarun Pal
f1cc695a6c
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-11-07 16:10:09 +05:30
Nabarun Pal
e842ec927b
Remove generated tests
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-07 16:10:09 +05:30
Nabarun Pal
598d41ba5f
Generate client 17.0.0
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-11-07 16:10:08 +05:30
Nabarun Pal
2910f25667
Update submodule
Old: fd322f70aa
New: 2da2b981ca

Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-15 14:51:16 +05:30
Tao He
bbdfb73cdf Fixes for code format.
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-09-24 10:08:33 +08:00
Tao He
9e534d021f Returns the created k8s objects in create_from_{dict,yaml}.
Signed-off-by: Tao He <sighingnow@gmail.com>
2020-09-24 02:34:59 +08:00
Dylan Shepard
8e1c331c71
updating base for file-like config load support 2020-09-09 10:45:13 -07:00
Andreas Unterkircher
32cb3f911f remove duplicate-lines from kubernetes/README.md 2020-09-09 08:32:59 +02:00
Patrick J. McNerthney
3da49a207c Update kubernetes/base to latest master with portforwarding implementation. 2020-09-08 16:11:37 -10:00
Patrick J. McNerthney
c1249c9cf2 Support both python 2.7 and 3.x. 2020-09-07 19:47:19 -10:00
Patrick J. McNerthney
8afcebdf8d Add test that checks for portforward port error return value. 2020-09-07 13:11:50 -10:00
Patrick J. McNerthney
49f3b6e0b5 Rework port forwarding unittest and example. 2020-09-07 07:54:47 -10:00
Patrick J. McNerthney
fada718edf Unittests and example for portforwarding ability added in python-base. 2020-09-01 18:32:48 -10: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
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