Commit Graph

6 Commits

Author SHA1 Message Date
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
Philipp Sontag
943b0e7444
Support setting the _request_timeout parameter for the dynamic client 2022-04-20 10:23:16 +02: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