Commit Graph

1522 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
a0d4a31edc
Merge pull request #243 from hedinasr/master
Add watch_stop to DynamicClient
2021-08-04 11:11:17 -07:00
Kubernetes Prow Robot
9bf29f73d4
Merge pull request #248 from fabianvf/add-fabian-owners
Add fabianvf to reviewers
2021-07-29 14:21:19 -07:00
Fabian von Feilitzsch
b0b0ddeedc Add fabianvf to reviewers 2021-07-29 16:56:44 -04:00
Hedi Nasr
59ba58b494
Add the ability to stop the watcher gracefully. 2021-07-28 21:18:12 +02:00
Mike Graves
cbb71698d7 Add support for dryRun parameter 2021-07-26 13:23:57 -04:00
Andrei Marin
6f9e3327a8
Fix replication controller pods delete in tests 2021-07-20 21:33:30 +03:00
Kubernetes Prow Robot
05e8f5798a
Merge pull request #1403 from mecampbellsoup/add-yaml-objects-param-to-create-from-yaml-util
Allow optional list of YAML objects as param to create_from_yaml util
2021-07-19 12:50:52 -07: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
Kubernetes Prow Robot
6c4d917026
Merge pull request #1506 from dingyiyi0226/master
Fix empty yaml document error
2021-07-17 09:40:51 -07:00
Huan-Ting,Chen
65a0ffc844 Fix empty yaml document error 2021-07-17 16:41:16 +08:00
Haowei Cai (Roy)
05434120d6
Merge pull request #1467 from Priyankasaggu11929/documet-server-and-client-side-timeout
add documentation for the server & client side timeout
2021-07-15 14:20:11 -07:00
Kubernetes Prow Robot
62366eecf3
Merge pull request #246 from david0/fix-load-config
Fix load_config: expand ~
2021-07-12 10:28:48 -07:00
David Otto
e2ba3fb9fc do expanduser in load_config 2021-07-12 11:21:13 +02:00
David Otto
dca0ca6df2 Fix load_config: expand ~ 2021-07-07 12:54:38 +02:00