Closed rad-pat closed 4 weeks ago
Thanks for reporting this issue.
It's been introduced in 31.0.0 (by PR #303).
I'll fix it but for now you can use workarounds:
await corev1.patch_namespaced_secret(
namespace="pw-bug-fixes",
name=secret_name,
body=secret.to_dict()
)
await corev1.patch_namespaced_secret(
namespace="pw-bug-fixes",
name=secret_name,
body=secret,
_content_type='application/strategic-merge-patch+json'
)
Since upgrading from 29.0.0 to 30.1.0 or later, we receive a 400 Bad Request when trying to patch a secret.