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
xiaoaxiao
e5ca5aeeea
fix issue #1782 Resolve load_kube_config TMP file issue
2022-08-03 23:06:50 +08: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
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
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
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
Brendan Burns
c9ad88301e
Add interactive configuration to exec provider.
2022-06-17 15:11:26 +00:00
Brendan Burns
9c79d2b763
Revert "Add interactive configuration to exec provider."
...
This reverts commit e0dfc6b0da .
2022-06-16 22:14:43 +00:00
Brendan Burns
e0dfc6b0da
Add interactive configuration to exec provider.
2022-06-16 22:09:26 +00:00
Kubernetes Prow Robot
c76f0df7c4
Merge pull request #1785 from iciclespider/fix-port-forward-hang
...
Fix kubernetes port forwarding from hanging in certain edge cases.
2022-06-07 09:00:56 -07:00
Kubernetes Prow Robot
be9a47e573
Merge pull request #1781 from jeid64/je_fix_execprovider
...
Set cwd to None if empty string for ExecProvider
2022-05-25 14:35:23 -07:00
harshitasao
f1dfdbba45
used unittest.mock instead of mock
2022-05-23 14:35:09 +05:30
Julien Eid
35bcb7f20c
Update kubernetes/base/config/exec_provider.py
...
Co-authored-by: Patrick J. McNerthney <pat@mcnerthney.com>
2022-05-20 06:31:15 -04:00
Patrick J McNerthney
7d0cd172bf
It turns out SSL sockets can buffer data such that the select method is not aware of it. See:
...
https://docs.python.org/3/library/ssl.html#notes-on-non-blocking-sockets
https://docs.python.org/3/library/ssl.html#ssl.SSLSocket.pending
2022-05-01 06:42:31 -10:00
Philipp Sontag
943b0e7444
Support setting the _request_timeout parameter for the dynamic client
2022-04-20 10:23:16 +02:00
Julien Eid
fe2546147c
Set cwd to None if empty string for ExecProvider
2022-04-18 11:30:45 -04:00
Kubernetes Prow Robot
c66a39108b
Merge pull request #1738 from abikouo/fix_resource_field
...
fix issue when trying to build ResourceField with argument name 'self'
2022-03-28 09:39:23 -07:00
yida.hu
be5e61c29e
Fix typo: kubenetes -> kubernetes
2022-03-28 19:52:37 +08:00
abikouo
3117c533b3
ResourceField class should allow defining any keyword
...
add unit tests
2022-03-07 10:00:03 +01:00
Venu Karnati
70ae7a8da8
Async fix for Dynamic Client
2022-02-09 15:52:02 -08:00
Yu Liao
9d176918a9
removed submodule
2022-01-07 16:17:39 -08:00
Yu Liao
41d4886c08
updated base to the latest (e2e test in python repo would fail w/o the
...
base update)
2021-12-15 12:02:32 -08:00
John Sun
c1a14438b3
generated python-base update
2021-12-14 16:52:43 +11:00
Yu Liao
35a68b2e54
update version constants for 21.0.0-snapshot release
2021-11-29 10:59:46 -08:00
itaru2622
0449056620
update python-base commithash
2021-10-19 07:35:25 +09:00
itaru2622
4f67f8a0c1
update python-base
2021-10-11 14:37:54 +09:00
Haowei Cai
7a45195166
generated python-base update
2021-09-19 18:16:38 -07:00
Scott Lee
4dec14919a
Update release-18.0 submodule
2021-08-05 15:09:45 -06:00
Haowei Cai
682dfa26d7
generated python-base update
2021-05-09 14:16:11 -07:00
Chris Ayoub
fdd2e14c60
Update base submodule
2021-02-25 19:00:06 -05:00
Sumant
6eb9f7d9dc
Adding module leaderelection from base
2021-02-01 17:03:44 -05:00
Haowei Cai
5be9c893b3
update python-base submodule
2021-01-05 09:53:49 -08:00
Nabarun Pal
2910f25667
Update submodule
...
Old: fd322f70aa
New: 2da2b981ca
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-10-15 14:51:16 +05:30
Dylan Shepard
8e1c331c71
updating base for file-like config load support
2020-09-09 10:45:13 -07:00
Patrick J. McNerthney
3da49a207c
Update kubernetes/base to latest master with portforwarding implementation.
2020-09-08 16:11:37 -10:00
Graham Reed
5424e17c85
Update python base
...
To get auth plugin support for client certificates, ref. kubernetes-client/python-base#205
2020-07-30 18:22:48 +01:00
Nabarun Pal
9a20c56cd5
Updates python-base submodule
...
Update from 49ec06096e to fb86b8acb6
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2020-07-17 04:06:00 +05:30
ACXLM
17dc22ed58
update python base
2020-06-26 12:23:41 +08:00
Shihang Zhang
f7d0f126b4
update python-base
2020-05-13 15:45:49 -07:00
Nabarun Pal
86f3a8ec96
Update the base submodule
...
CHANGELOG
---
- Logs are no longer unmarshalled when streaming [kubernetes-client/python-base#185 ](https://github.com/kubernetes-client/python-base/pulls/185 )
2020-03-30 22:03:19 +05:30
Nigel Foucha
4d1896cb52
Merge apiserver_id get fix from python-base
2020-02-23 14:04:23 -05:00
Haowei Cai
778b25d87f
update base submodule, update CHANGELOG and include CHANGELOG from 11.0.0a1
2019-11-11 12:02:38 -08:00
Nigel Foucha
f1339b864d
Merge azure refresh fix from python-base
2019-10-09 13:18:10 -04:00
Richard Godden
67bac5d22b
support false values and missing fields in configs
2019-09-25 10:53:41 +01:00
micw523
fd9de42bab
Fix deprecations introduced in v1.16
2019-09-24 16:30:10 -04:00
Oz Tiram
752373b1f9
Test getting the returncode of execution in a pod
...
This tests demonstrate how to execute a command in a pod and
what behavior is expected. As discussed in the commit
bf367ed6ddc63369f76df0a07b248a6711328605 in python-base this
behavior would be familiar to Python users, as `subprocess.Popen`
has the same property.
2019-09-19 10:03:43 +02:00
Richard Godden
3f8d583ee0
update submodule to include parsing microseconds
2019-08-01 22:16:00 +01:00
Haowei Cai
14f97fcdce
update python-base submodule
2019-07-01 14:49:26 -07:00
axelsteingrimsson
914b6aacf6
Updating Submodule for GCP Email Scope Addition
2019-04-09 10:20:59 +02:00