Yu Liao
0855f76739
uploading to codecov failure does not fail the CI.
...
https://github.com/yliaog/client-python/actions/runs/4010290284/jobs/6886629356
2023-01-31 05:30:32 +00:00
Chandan Sharma
5d6725fa01
added newline at the end of code.
...
For better readability
2023-01-31 05:30:32 +00:00
Glenn Hinks
da99f0b712
doc: comment pod_exec.py for multiple containers
...
The behavior in kubectl is to run the exec command
against the default container. However, this needs to
be specified with the client call.
Add a comment in the example for this.
2023-01-31 05:30:32 +00:00
Venu Karnati
89a64de401
Creating Configmap with Request Timeout Setting
...
Updating README With Request Timeout Example
Updating Copyrights to 2023
Update timeout-settings.md
2023-01-31 05:30:32 +00:00
Kubernetes Prow Robot
4e84baa4ee
Merge pull request #1994 from yliaog/automated-release-of-26.1.0a1-upstream-release-26.0-1674599031
...
Automated release of 26.1.0a1 upstream release 26.0 1674599031
2023-01-25 11:08:02 -08:00
Yu Liao
784c4f72e1
Fixed issue: pass_env values cannot contain whitespace, use comma to have multiple
...
values in a single line
https://github.com/kubernetes-client/python/actions/runs/4001147429/jobs/6867090020
2023-01-24 23:09:18 +00:00
Yu Liao
692827f7ec
updated compatibility matrix and maintenance status in README
2023-01-24 22:57:19 +00:00
Yu Liao
2a021b1c7b
generated client change
2023-01-24 22:54:13 +00:00
Yu Liao
0174285b05
update changelog
2023-01-24 22:54:13 +00:00
Yu Liao
68e60b9690
update version constants for 26.1.0a1 release
2023-01-24 22:54:13 +00:00
Yu Liao
61eef1c5ea
Removed 3.6 python version
...
https://github.com/kubernetes-client/python/actions/runs/3999583001/jobs/6863664535
2023-01-24 22:50:03 +00:00
Yu Liao
d67bc8c2bd
Merge pull request #1990 from yliaog/automated-release-of-26.0.0-snapshot-upstream-master-1674525870
...
Automated release of 26.0.0 snapshot upstream master 1674525870
2023-01-24 11:09:15 -08:00
Yu Liao
a0c63cf55e
Merge pull request #1991 from yliaog/master
...
updated kind action version, kind version, and node image version.
2023-01-24 10:51:53 -08:00
Yu Liao
095b47f628
updated kind action version, kind version, and node image version and
...
python versions.
Fix
https://github.com/kubernetes-client/python/actions/runs/3992341088/jobs/6848101335
2023-01-24 05:32:17 +00:00
Yu Liao
356208a0f6
generated client change
2023-01-24 02:04:54 +00:00
Yu Liao
5f8455ae05
generated API change
2023-01-24 02:04:53 +00:00
Yu Liao
5b99d287de
generated client change for custom_objects
2023-01-24 02:04:53 +00:00
Yu Liao
71791c3835
update changelog
2023-01-24 02:04:30 +00:00
Yu Liao
8b263d1bea
update version constants for 26.0.0-snapshot release
2023-01-24 02:04:30 +00:00
Kubernetes Prow Robot
2a27133f7e
Merge pull request #1949 from arrikto/feature-in-cluster-token-refresh
...
Improve the refreshing of tokens from inside the cluster
2023-01-17 09:06:33 -08:00
Kubernetes Prow Robot
8f80cf444e
Merge pull request #1947 from arrikto/feature-out-of-cluster-token-refresh
...
Fix the refreshing of tokens from outside the cluster
2023-01-16 11:28:09 -08:00
Kubernetes Prow Robot
8c8c15bd30
Merge pull request #1935 from Ark-kun/patch-1
...
Fixed double module imports
2023-01-16 11:18:10 -08:00
Kubernetes Prow Robot
5a96bbcbe2
Merge pull request #1956 from bentastic27/patch-1
...
duplicate configuration.host lines in example
2022-11-29 10:57:23 -08:00
Kubernetes Prow Robot
d0df4694be
Merge pull request #1955 from fabianvf/dynamic-usedforsecurity
...
Only use `usedforsecurity` if supported
2022-11-22 11:04:15 -08:00
Ben Healey
b25ead9390
duplicate configuration.host lines in example
2022-11-22 13:58:40 -05:00
Fabian von Feilitzsch
1ac54eff7b
Only use usedforsecurity if supported
...
Fixes #1944
This was only added in Python 3.9, will fall back to the old behavior if
`usedforsecurity` is not available.
2022-11-22 09:55:19 -05:00
Kubernetes Prow Robot
2d586a158e
Merge pull request #1951 from chrisgzf/fix-url-typo-timeout-settings
...
Fix typo in timeout-settings docs URL
2022-11-11 13:45:55 -08:00
Christopher Goh
86dcb55cbc
Fix typo in timeout-settings docs URL
2022-11-12 02:15:31 +08:00
Alexis Zamanis
392a8c1d07
Improve the refreshing of tokens from inside the cluster
...
Requests from inside the cluster misuse the API to refresh tokens.
Signed-off-by: Alexis Zamanis <alexiszam@arrikto.com>
2022-11-10 11:48:31 +02:00
Alexis Zamanis
a07531b932
Fix the refreshing of tokens from outside the cluster
...
Requests from outside the cluster may have stale tokens and fail with
status code `401`.
Signed-off-by: Alexis Zamanis <alexiszam@arrikto.com>
2022-11-08 17:13:24 +02:00
Kubernetes Prow Robot
9df5fa7666
Merge pull request #1938 from yliaog/master
...
25.3 GA release changelog and README comptability matrix
2022-10-25 16:56:35 -07:00
Yu Liao
b1b621af9e
updated 25.3 release support matrix
2022-10-25 23:50:00 +00:00
Yu Liao
85a1226744
update changelog with release notes from master branch
2022-10-25 23:49:31 +00:00
Alexey Volkov
a4189ccf4e
Fixed double module imports
...
In Python, when you write `import foo.bar.baz` this means that the modules would be imported and the name `foo` will be bound locally and becomes available in the module. https://docs.python.org/3/reference/simple_stmts.html#import
So, doing `import kubernetes.client` leads to name `kubernetes` (not `client`) being added to the `kubernetes` module leading to a weird duplicate nesting. See:
```
>>> import kubernetes
>>> kubernetes
<module 'kubernetes' from 'C:\\Users\\Ark\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\kubernetes\\__init__.py'>
>>> kubernetes.kubernetes
<module 'kubernetes' from 'C:\\Users\\Ark\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\kubernetes\\__init__.py'>
```
We can solve this issues by using the `import ... from ...` syntax: Replace `import kubernetes.client` with `from kubernetes import client`.
I see that most modules already use relative imports, so I'm using relative imports here as well: `from . import client`.
2022-10-23 17:50:50 -07:00
Kubernetes Prow Robot
4dddad8dc4
Merge pull request #1932 from yliaog/master
...
update changelog and readme
2022-10-20 13:11:22 -07:00
Yu Liao
0a3bdddf0a
update changelog with release notes from master branch
2022-10-20 18:48:31 +00:00
Yu Liao
f29d1086ca
update changelog with release notes from master branch
2022-10-20 18:48:18 +00:00
Yu Liao
753fb21425
updated compatibility matrix for 25.3.0b1
2022-10-20 17:35:54 +00:00
Yu Liao
d6fffeb2b9
updated compatibility matrix for 25.2.0b1
2022-10-20 17:35:49 +00:00
Kubernetes Prow Robot
55cba659bc
Merge pull request #1924 from yliaog/master
...
changelog and README for 1.25 alpha release
2022-10-18 16:57:00 -07:00
Kubernetes Prow Robot
0ac8293ed2
Merge pull request #1926 from mans2singh/rollout_ds_desc_update
...
Updated example description
2022-10-15 20:07:06 -07:00
mans2singh
841c2561bb
Updated example description
2022-10-15 21:26:54 -04:00
Kubernetes Prow Robot
e36a91be6b
Merge pull request #1912 from ramvikrams/%1
...
decoding a not safe url in load_kube_config
2022-10-13 15:21:01 -07:00
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
Kubernetes Prow Robot
a4c43ede69
Merge pull request #1922 from yliaog/master
...
mock.call_args.kwargs was added after python 3.7, switched to the old…
2022-10-13 10:59:01 -07: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
d1995299dc
Merge pull request #1916 from vgupta3/oidc-idp-ca-cert-file-support
...
Add support for using oidc CA certificate file while refreshing token
2022-10-12 17:43:01 -07:00
Kubernetes Prow Robot
3fb24ad6af
Merge pull request #1919 from mans2singh/node_labels_corr
...
Updated typo in example steps
2022-10-12 17:37:00 -07:00
mans2singh
97f23e0ad0
Updated example steps
2022-10-12 20:21:25 -04:00