Commit Graph

1556 Commits

Author SHA1 Message Date
Yu Liao
218239c9f3 update changelog 2022-10-13 18:29:02 +00:00
Yu Liao
431e5a1791 updated compatiblity matrix for 1.25 alpha release. 2022-10-13 18:28:53 +00:00
Yu Liao
f8f6d11058 mock.call_args.kwargs was added after python 3.7, switched to the old way to allow 3.7 and below pass 2022-10-13 17:28:54 +00:00
Kubernetes Prow Robot
9be097199a
Merge pull request #1917 from kubernetes-client/automated-release-of-25.0.0-snapshot-upstream-master-1665519144
Automated release of 25.0.0 snapshot upstream master 1665519144
2022-10-11 13:24:42 -07:00
Yu Liao
beb98e076f generated client change
Some checks failed
Kubernetes Python Client - Validation / build (3.10) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.6) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.7) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.8) (push) Has been cancelled
Kubernetes Python Client - Validation / build (3.9, coverage) (push) Has been cancelled
2022-10-11 20:12:43 +00:00
Yu Liao
06e8a7216a generated API change 2022-10-11 20:12:42 +00:00
Yu Liao
70b5364aee generated client change for custom_objects 2022-10-11 20:12:42 +00:00
Yu Liao
36c5cd0b7e update changelog 2022-10-11 20:12:25 +00:00
Yu Liao
7631863fbb update version constants for 25.0.0-snapshot release 2022-10-11 20:12:25 +00:00
Kubernetes Prow Robot
c3f4f1b52b
Merge pull request #1913 from yliaog/master
Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied
2022-10-11 11:19:02 -07:00
Yu Liao
ecb669ad3a Fixed scripts/rest_client_patch.diff, it is corrupt and cannot be applied. 2022-10-11 04:09:48 +00:00
Kubernetes Prow Robot
8cc9f981eb
Merge pull request #1910 from ShoaibKakal/master
added [back to top] button
2022-10-10 10:07:21 -07:00
Kubernetes Prow Robot
d5625ea78d
Merge pull request #1899 from pmareke/feature/add-e2e-test-for-strategic-merge-patch
Add e2e test for strategic merge patch
2022-10-10 10:01:21 -07:00
Kubernetes Prow Robot
5385eb0123
Merge pull request #1903 from shafinhasnat/master
example added for create_from_dict
2022-10-10 09:41:21 -07:00
Shoaib
938f0f1517
added [back to top] button 2022-10-05 18:11:56 +05:00
shafinhasnat
3aa11438e3 example added for create_from_dict 2022-09-28 12:33:57 +06:00
Pedro Lopez Mareque
f7fc9deb18 remove old assertion and improve tests 2022-09-27 08:54:41 +02:00
Pedro Lopez Mareque
c8d814ddce fix tests 2022-09-27 08:36:56 +02:00
Pedro Lopez Mareque
89730b40d4 Run autopep8 and fix style 2022-09-27 07:38:23 +02:00
Kubernetes Prow Robot
5c2cbffab6
Merge pull request #1895 from kubernetes-client/dependabot/github_actions/helm/kind-action-1.4.0
Bump helm/kind-action from 1.3.0 to 1.4.0
2022-09-26 14:52:15 -07:00
Pedro Lopez Mareque
1da8a689dd fechange e2e test strategy to add instead of replace 2022-09-26 22:42:24 +02:00
Pedro Lopez Mareque
2fd1b9469c feat: add missing e2e test for json and merge patch strategies 2022-09-26 22:39:38 +02:00
dependabot[bot]
9da87b3d62
Bump helm/kind-action from 1.3.0 to 1.4.0
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.3.0...v1.4.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>
2022-09-26 03:02:59 +00:00
Kubernetes Prow Robot
1693503625
Merge pull request #1858 from akalenyu/base-rsc-lookup-missing
Add base_resource_lookup to ResourceList to avoid logging error
2022-09-05 08:12:36 -07:00
Kubernetes Prow Robot
e3c0042e0f
Merge pull request #1804 from harshitasao/issue-1790
Instead of mock, used unittest.mock
2022-08-15 15:05:55 -07:00
Kubernetes Prow Robot
ada96faca1
Merge pull request #1871 from tobewithyou1996/master
fix issue #1782 Resolve load_kube_config TMP file issue
2022-08-15 09:50:14 -07:00
Kubernetes Prow Robot
1ea41ec2df
Merge pull request #1874 from akfmdl/Feat/remove-duplicate-comments
Remove duplicate
2022-08-08 09:20:19 -07:00
Goeun Kim
17372b78c5 Remove duplicate 2022-08-08 13:42:05 +09:00
xiaoaxiao
e5ca5aeeea
fix issue #1782 Resolve load_kube_config TMP file issue 2022-08-03 23:06:50 +08:00
Kubernetes Prow Robot
0553bba32d
Merge pull request #1860 from Rishit-dagli/Rishit-dagli-wiki
Deploy docs as wiki
2022-07-19 16:50:37 -07:00
Rishit Dagli
9742e7adb9 Deploy docs as wiki 2022-07-19 07:14:19 +00:00
Kubernetes Prow Robot
74e851637d
Merge pull request #1852 from xg0719/master
add a cronjob crud example
2022-07-18 14:22:07 -07:00
xg
5195b657f1
Merge branch 'kubernetes-client:master' into master 2022-07-18 22:35:54 +08:00
Alex Kalenyuk
3af3fee84b Add base_resource_lookup to ResourceList to avoid logging error
As seen in https://github.com/openshift/openshift-restclient-python/issues/430
We are hitting a bunch of these logging errors:
```bash
load cache error: __init__() got an unexpected keyword argument 'base_resource_lookup'
```
Which seem like they could be fixed by expecting this arg.

We might be off here so would appreciate any pointers,
but kept it simple at this point without adding the actual client request support.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
2022-07-18 14:05:27 +03:00
Kubernetes Prow Robot
2c5f775c0b
Merge pull request #1854 from efussi/master
Add 'usedforsecurity=False' parameter to md5 call
2022-07-13 09:59:38 -07:00
Kubernetes Prow Robot
64a108606f
Merge pull request #1833 from brendandburns/master
Add interactive configuration to exec provider.
2022-07-10 22:07:48 -07:00
xg0719
d593fc6267 change BatchV1beta1Api to BatchV1Api 2022-07-09 18:49:58 +08:00
Erich Fussi
51badbcdbb Add 'usedforsecurity=False' parameter to md5 call
This allows to execute in a restricted environment, like a FIPS-enabled
Kubernetes cluster.
See https://docs.python.org/3/library/hashlib.html#hash-algorithms:
> False indicates that the hashing algorithm is [used] as a
> non-cryptographic one-way compression function.
2022-07-07 21:25:03 +00:00
xg0719
ab58e5cfc9
Merge branch 'kubernetes-client:master' into master 2022-07-07 19:59:24 +08:00
Kubernetes Prow Robot
e8a10b1158
Merge pull request #1850 from kariya-mitsuru/fix-server-side-apply
Fix DynamicClient.server_side_apply
2022-07-06 09:59:33 -07:00
xg0719
7d40da7bfd add a cronjob crud example 2022-07-06 18:49:07 +08:00
xg0719
f412089aaa
Merge branch 'kubernetes-client:master' into master 2022-07-06 18:29:29 +08:00
Mitsuru Kariya
5529dedcb3
Fix DynamicClient.server_side_apply
DynamicClient.server_side_apply is designed to accept a dict or a
ResourceInstance as body.  However, if a dict or a ResourceInstance is
passed actually, an error occurs because RESTClientObject.rest cannot
interpret the Content-Type application/apply-patch+yaml.

So, modify RESTClientObject.rest to treat application/apply-patch+yaml
as other json-based Content-Types.
2022-07-06 01:16:57 +09:00
Kubernetes Prow Robot
2677e9c810
Merge pull request #1848 from Akasurde/i1753
Check availability of poll method before using
2022-07-03 18:03:22 -07:00
Abhijeet Kasurde
13c4c7662e Check availability of poll method before using
When eventlet is monkey patched, select.poll is removed since
it is not thread safe. So check availability of `poll` method
before using it.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2022-06-30 12:00:54 +05:30
Kubernetes Prow Robot
3165e80ee5
Merge pull request #1843 from showjason/annotate-deployment
example annotate deployment
2022-06-23 15:25:20 -07:00
showjason
cc03f4ecc8 example annotate deployment 2022-06-23 13:13:46 +08:00
Kubernetes Prow Robot
0986337cfc
Merge pull request #1839 from yliaog/master
GA release for 1.24.2
2022-06-22 11:21:45 -07:00
Yu Liao
d963980bc8 added compatibility matrix for 1.24.2 release. 2022-06-21 23:00:44 +00:00
Yu Liao
f17a26ace5 update changelog with release notes from master branch 2022-06-21 23:00:44 +00:00