Commit Graph

1686 Commits

Author SHA1 Message Date
Christian Clauss
d5a7db3cce
Programming Language :: Python :: 3.10 2021-10-15 13:09:17 +02:00
Christian Clauss
dc11cf50ef
Add Python 3.10 to the testing 2021-10-15 13:01:16 +02:00
Kubernetes Prow Robot
b15bea16a8
Merge pull request #1573 from roycaihw/update-readme-v19b
Update changelog and readme in the master branch
2021-10-13 09:55:49 -07:00
Haowei Cai
858df36f19 update changelog and readme 2021-10-12 19:38:05 -07:00
Kubernetes Prow Robot
66fe48181f
Merge pull request #1567 from itaru2622/update_python_base
update python-base commithash
2021-10-11 09:24:40 -07:00
itaru2622
4f67f8a0c1 update python-base 2021-10-11 14:37:54 +09:00
Kubernetes Prow Robot
21f1d7f463
Merge pull request #254 from abikouo/me/server_side_apply
add support for server side apply
2021-10-10 20:12:36 -07:00
Kubernetes Prow Robot
5756b94e4c
Merge pull request #257 from itaru2622/fix_proxy_auth_typo
fix typo in proxy auth (stream/ws_client.py)
2021-10-10 18:54:37 -07:00
itaru2622
f23b2840f8 fix typo in proxy auth (stream/ws_client.py) 2021-10-10 11:48:30 +09: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
Kubernetes Prow Robot
0052a6862d
Merge pull request #256 from itaru2622/proxy_auth
add proxy authentication supporting for websocket (stream/ws_client.py)
2021-10-08 18:28:36 -07:00
itaru2622
59e7d115b2 change base64decode to urlsafe_b64decode 2021-10-09 09:36:28 +09: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
itaru2622
8777271109 proxy authentication supporting for websocket (stream/ws_client.py), with unittest 2021-10-05 23:13:49 +09:00
Kubernetes Prow Robot
8a36dfb113
Merge pull request #1562 from roycaihw/deprecate-go-get
Use `go install` instead of `go get`
2021-10-04 09:25:09 -07:00
Haowei Cai
0684397d63 go get is deprecated: https://golang.org/doc/go-get-install-deprecation 2021-10-03 15:18:49 -07:00
itaru2622
769bc57ec7 add proxy authentication supporting for websocket (stream/ws_client.py) 2021-10-02 04:12:02 +09:00
abikouo
281f17ab23 add support for server side apply 2021-09-29 11:53:43 +02:00
schneesu
c040d87bd8
fix: ignore ResourceNotFoundError in the first call of LazyDiscoverer.__search 2021-09-28 10:05:17 +08:00
Kubernetes Prow Robot
96dade6021
Merge pull request #1553 from roycaihw/release-cleanups
Update readme and changelog in the master branch, add minor changes to the release automation script
2021-09-20 10:38:10 -07:00
Haowei Cai
e562fecc35 Add a TODO about updating readme automatically 2021-09-20 10:26:00 -07:00
Haowei Cai
8d3e2b56b2 Update README for 19.15.0a1 client 2021-09-20 10:24:18 -07:00
Haowei Cai
e5c6b15e7e update changelog 2021-09-20 10:24:09 -07:00
Haowei Cai
a6c28e11ec Explicitly set USERNAME in the release script
Sometimes a user's machine has this env set. Setting the value explicitly
makes sure we always download the right kubernetes openapi spec during a
release.
2021-09-20 10:23:41 -07:00
Kubernetes Prow Robot
a3c3f89b71
Merge pull request #1551 from roycaihw/v19a1-release-test
Release automation: tolerate when there is no API change
2021-09-20 07:52:10 -07:00
Haowei Cai
4e02372708 release automation: tolerate when there is no API change 2021-09-19 19:36:35 -07:00
Kubernetes Prow Robot
11b341ff59
Merge pull request #1550 from roycaihw/update-submodule
Update python-base
2021-09-19 18:34:09 -07:00
Haowei Cai
7a45195166 generated python-base update 2021-09-19 18:16:38 -07:00
jamesgetx
bd944a58a3
fix: field extra_args recursive growth caused by Resource and Subresource to_dict method when cache with CacheDecoder 2021-09-16 19:49:29 +08:00
Kubernetes Prow Robot
b0afc93ffa
Merge pull request #241 from piglei/enhance-body-serialization
Make duck-typing checking in `serialize_body` method more restrictive
2021-09-15 19:03:45 -07:00
Kubernetes Prow Robot
d3de7a85a6
Merge pull request #1547 from roycaihw/v19-snapshot
Generate 19.0.0-snapshot client
2021-09-13 13:07:50 -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
Haowei Cai
914c648aa4 update changelog 2021-09-13 12:57:22 -07:00
Haowei Cai
692630d8fa update version constants for 19.0.0-snapshot release 2021-09-13 12:57:21 -07:00
Kubernetes Prow Robot
6b99480f12
Merge pull request #1426 from roycaihw/automate-release
add a script to automate the release process
2021-09-13 11:51:52 -07:00
Haowei Cai
d8e7686d28 add a release script 2021-09-13 11:48:10 -07:00
Eric Menendez
70b78cd848 Refresh exec-based API credentials when they expire
This is a fix for kubernetes-client/python#741.

As described in kubernetes-client/python#741, some of the authentication schemes supported by Kubernetes require updating the client's credentials from time to time. The Kubernetes Python client currently does not support this, except for when using the `gcp` auth scheme. This is because the OpenAPI-generated client code does not generally expect credentials to change after the client is configured.

However, in OpenAPITools/openapi-generator#3594, the OpenAPI generator added a (undocumented) hook on the `Configuration` object which provides a method for the client credentials to be refreshed as needed. Now that this hook exists, the `load_kube_config()` function, used by the Kubernetes API to set up the `Configuration` object from the client's local k8s config, just needs to be updated to take advantage of this hook.

This patch does this for `exec`-based authentication, which should resolve kubernetes-client/python#741.

Also, as noted above, `load_kube_config()` already has a special-case monkeypatch to refresh GCP tokens. I presume this functionality was added before the OpenAPI generator added support for the refresh hook. This patch also refactors the GCP token refreshing code to use the new hook instead of the monkeypatch.

Tests are also updated.
2021-09-03 15:53:25 -06:00
piglei
66a45cd081 Make duck-typing in serialize_body method more restrictive 2021-08-23 14:48:24 +08:00
Kubernetes Prow Robot
6b01c95e16
Merge pull request #1528 from roycaihw/v18ga-readme
Update changelog and readme in the master branch for v18 GA release
2021-08-16 16:34:00 -07:00
Haowei Cai
0e9baee7ca update changelog and readme for v18 GA release 2021-08-16 15:16:09 -07:00
Kubernetes Prow Robot
dd15ac6263
Merge pull request #244 from hedrox/bug-rc-delete
Fix replication controller pods delete in tests
2021-08-15 14:41:46 -07:00
Kubernetes Prow Robot
76897e9b1d
Merge pull request #1520 from scottilee/release-docs
Update release docs with more info
2021-08-12 18:44:58 -07:00
Scott Lee
88c9e94145 Update release docs with more info
Fix typo and address comments
2021-08-06 16:04:00 -06:00
Kubernetes Prow Robot
2f9643eac7
Merge pull request #1521 from scottilee/python2support
Require python3
2021-08-05 17:50:53 -07:00
Scott Lee
0a8c1fdee1 Require python3 2021-08-05 18:24:36 -06:00
Kubernetes Prow Robot
837a6ecb03
Merge pull request #1518 from scottilee/release-18-base
Update release-18.0 submodule
2021-08-05 14:33:41 -07:00
Scott Lee
4dec14919a Update release-18.0 submodule 2021-08-05 15:09:45 -06:00
Kubernetes Prow Robot
6b0104ffb9
Merge pull request #247 from gravesm/dry-run
Add support for dryRun parameter
2021-08-05 10:21:22 -07:00