Commit Graph

1899 Commits

Author SHA1 Message Date
Yash Kumar Singh
9248a90055 Removed the custom_object.py file and and added namespaced_custom_object.py 2021-04-30 13:08:18 +05:30
Kubernetes Prow Robot
829d8a0d09
Merge pull request #1443 from roycaihw/hotfixes-use-upstream-commits
Apply-hotfixes: use commits from upstream repo instead of a forked repo
2021-04-29 16:17:57 -07:00
jonasdlindner
67f9c7a970 examples: comment improvement in remote_cluster.py and deployment_create.py 2021-04-29 22:17:17 +02:00
Kubernetes Prow Robot
57d74aea09
Merge pull request #1441 from roycaihw/detect-os-x-sed
Detect OS X sed and fail client generation script
2021-04-29 11:50:12 -07:00
Haowei Cai
9182d09457 apply-hotfixes: use commits from upstream repo instead of a forked repo 2021-04-29 11:41:39 -07:00
Haowei Cai
684544e53e detect OS X sed and fail client generation script 2021-04-29 11:20:40 -07:00
Kubernetes Prow Robot
0ea3542ae5
Merge pull request #1437 from Priyankasaggu11929/psaggu_add_cluster_scoped_custom_object_example
Add example to demonstrate usage of `patch_cluster_custom_object` method
2021-04-28 12:40:50 -07:00
Priyanka Saggu
f7a4ad9880
correct custom object to custom resource (CR) 2021-04-28 23:23:09 +05:30
Kubernetes Prow Robot
c3f1a1c61e
Merge pull request #1435 from Priyankasaggu11929/psaggu-enhance_node_labels_example
simplify & enhance the node_labels.py example
2021-04-28 10:52:50 -07:00
Priyanka Saggu
af4ea4bfbe
add more log messages 2021-04-28 23:12:45 +05:30
Priyanka Saggu
cc66bc1274
correct copyright year to 2021 2021-04-28 22:50:22 +05:30
Priyanka Saggu
3b54f4caa6
Update cluster_scoped_custom_object.py 2021-04-28 22:12:17 +05:30
Priyanka Saggu
60e8c895a5
Update node_labels.py 2021-04-28 22:09:40 +05:30
Priyanka Saggu
fca1765fa5
Create cluster_scoped_custom_object.py 2021-04-28 19:57:05 +05:30
Priyanka Saggu
b5d41cb3eb
fix whitspaces 2021-04-28 07:37:07 +05:30
Priyanka Saggu
41d331f990
fix whitespaces 2021-04-28 07:12:02 +05:30
Kubernetes Prow Robot
b5fedc3cf9
Merge pull request #1433 from Priyankasaggu11929/psaggufix_crd_yaml_manifest
Fix CustomResourceDefinition manifest yaml in custom_object.py example
2021-04-27 10:33:49 -07:00
Priyanka Saggu
adac2e0706
improve comments 2021-04-27 22:42:51 +05:30
Priyanka Saggu
0e37654613
simplify & enhance the node_labels.py example 2021-04-27 21:04:42 +05:30
Priyanka Saggu
68aeb30ae8
Fix CRD manifest yaml 2021-04-27 19:39:14 +05:30
Kubernetes Prow Robot
e2aad06bc4
Merge pull request #1431 from roycaihw/pin-openapi-generator
configure the openapi-generator version
2021-04-26 13:19:17 -07:00
Haowei Cai
7309a45b77 configure the openapi-generator version 2021-04-26 11:51:37 -07:00
Kubernetes Prow Robot
c3005ce1d4
Merge pull request #1322 from palnabarun/update-CHANGELOG
Cherry-pick: Update CHANGELOG with v17.14.0a1
2021-04-22 14:40:01 -07:00
Kubernetes Prow Robot
8a969ee9ad
Merge pull request #235 from roycaihw/add-pr-template
add PR template to python-base
2021-04-20 17:48:10 -07:00
Kubernetes Prow Robot
683ea3636e
Merge pull request #1419 from roycaihw/release-automation
add update-submodule script
2021-04-20 17:32:10 -07:00
Haowei Cai
96bb22fac5 add PR template 2021-04-20 17:06:52 -07:00
Haowei Cai
83d294e2b0 fixup! add update-submodule script 2021-04-20 16:56:30 -07:00
Haowei Cai
d86a47de26 add PR template
copied from k/k. We should add the same template to python-base
2021-04-20 11:01:16 -07:00
Haowei Cai
7b9e77bfd2 add update-submodule script 2021-04-19 21:46:38 -07:00
Prabha
7bb0851217
Fix issue #1395
create_job function was not printing the current status of the job. Modified the create_job function to call read_namespaced_job_status in order to get the current job status
2021-04-18 16:14:24 +05:30
Kubernetes Prow Robot
f38221ce00
Merge pull request #233 from onecer/master
load_kube_config_from_dict() support define custom temp files path
2021-04-14 12:19:09 -07:00
JackYoon
fc5b7302b1 load_kube_config_from_dict() support define custom temp files path 2021-04-15 02:59:36 +08:00
Kubernetes Prow Robot
e514f69dff
Merge pull request #234 from yliaog/master
quick fix of decoding error for BOOKMARK event
2021-04-13 10:35:09 -07:00
Yu Liao
10ae4760b5 quick fix of decoding error for BOOKMARK event 2021-04-12 21:09:53 -07:00
Kubernetes Prow Robot
b313b5e74f
Merge pull request #1416 from kubernetes-client/dependabot/github_actions/actions/setup-python-v2.2.2
Bump actions/setup-python from v2.1.4 to v2.2.2
2021-04-12 20:48:50 -07:00
dependabot[bot]
b78db01baf
Bump actions/setup-python from v2.1.4 to v2.2.2
Bumps [actions/setup-python](https://github.com/actions/setup-python) from v2.1.4 to v2.2.2.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2.1.4...dc73133d4da04e56a135ae2246682783cc7c7cb6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 03:02:11 +00:00
Kubernetes Prow Robot
db50d0292e
Merge pull request #231 from dhague/fix/1047
Fixes kubernetes-client/python issue 1047 "ResponseNotChunked from watch"
2021-04-08 11:36:04 -07:00
Darren Hague
90399663f3 Fixes kubernetes-client/python issue 1047 "ResponseNotChunked from watch"
In recent versions of K8S (>1.16?), when a `Watch.stream()` call uses a
resource_version which is too old the resulting 410 error is wrapped in JSON
and returned in a non-chunked 200 response. Using `resp.stream()` instead of
`resp.read_chunked()` automatically handles the response being either chunked or
non-chunked.
2021-04-08 18:56:07 +01:00
Kubernetes Prow Robot
b839eee939
Merge pull request #1401 from Akasurde/i1396
examples/pod_exec.py: fix example
2021-03-29 18:27:58 -07:00
Abhijeet Kasurde
b3e51c4820 examples/pod_exec.py: fix example
Use get_default_copy() API with configuration.
2021-03-23 10:28:13 +05:30
Moshe Shitrit
698299af9d isort 2021-03-22 00:22:04 -04:00
Moshe Shitrit
b5aa2dd371 Address remarks from pycodestyle 2021-03-22 00:16:52 -04:00
Moshe Shitrit
cf2f312fd0 Applied autopep8 properly this time. This should work 2021-03-21 23:59:43 -04:00
Moshe Shitrit
0a5b04feea Revert black and only try autopep8 this time 2021-03-21 23:44:32 -04:00
Moshe Shitrit
34b8304d5f autopep8 2021-03-21 23:38:48 -04:00
Moshe Shitrit
0395a10718 Run black linter to make update-pycodestyle happy 2021-03-21 23:27:47 -04:00
Moshe Shitrit
9bce8696ff Switching print statement to use legacy .format() method, in order to maintain backwards-compatibility with pre-3.6 Python versions 2021-03-21 23:01:35 -04:00
Moshe Shitrit
8e4c5ebe4f Merge branch 'master' into m3e-issue-1005 2021-03-21 22:38:33 -04:00
Kubernetes Prow Robot
fb425a3bec
Merge pull request #229 from mthaddon/master
Fix trivial typo in error messages
2021-03-19 10:44:35 -07:00
Tom Haddon
ed98daeae9 Fix trivial typo in error messages - 'does not exist' vs. 'does not exists' 2021-03-19 05:56:27 +01:00