Commit Graph

1458 Commits

Author SHA1 Message Date
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
Kubernetes Prow Robot
6a5e4ad2bb
Merge pull request #1504 from kubernetes-client/dependabot/github_actions/helm/kind-action-1.2.0
Bump helm/kind-action from 1.1.0 to 1.2.0
2021-07-01 20:44:12 -07:00
dependabot[bot]
e0f093d6ba
Bump helm/kind-action from 1.1.0 to 1.2.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-01 03:03:29 +00:00
Kubernetes Prow Robot
c2bff84770
Merge pull request #1498 from zapman449/zapman449/update-hotfix-script-1497
update the hotfix script for tolerating null sources on projected volumes
2021-06-23 15:36:11 -07:00
Jason Price
29729af6a0 address PR comment around removing hotfix when v20 clients are released 2021-06-23 18:10:01 -04:00
Kubernetes Prow Robot
0d4f822f4f
Merge pull request #221 from MoShitrit/m3e-issue-1005
Add load_config method which allows a more generic way to load the kubeconfig
2021-06-22 12:18:10 -07:00
Kubernetes Prow Robot
a1fbb7083e
Merge pull request #1499 from roycaihw/update-master-readme
Cherrypick README and CHANGLOG of v18.20.0b1 to master branch
2021-06-21 15:16:50 -07:00
Haowei Cai
4685a3651d update readme and changelog 2021-06-21 14:36:53 -07:00
Jason Price
9a2fbde41b update the hotfix script for tolerating null sources on projected volumes 2021-06-21 13:57:24 -04:00
Kubernetes Prow Robot
f3dbc8cbf1
Merge pull request #1497 from zapman449/zapman449/1494-tolerate-null-sources-projected-volumes
tolerate null sources on projected volumes
2021-06-21 10:50:51 -07: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
Kubernetes Prow Robot
d8f283e748
Merge pull request #1478 from palnabarun/update-master-snapshot-18.0
Update client snapshot on master to release-1.18 generated client
2021-06-20 18:40:51 -07:00
Moshe Shitrit
6d1c8d3713 Apply suggestion 2021-06-19 17:42:37 +03:00
Kubernetes Prow Robot
5ef35631c6
Merge pull request #1306 from palnabarun/update-pyyaml
Update pyyaml from 3.1.2 to 5.4.1
2021-06-09 09:30:52 -07:00
Nabarun Pal
4fd43bc909
Apply hotfixes
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2021-06-09 21:07:31 +05:30