I updated the kubernetes-client from version 2.0.29 to the latest version 3.0.4.
I'm using the method PatchNamespacedDeploymentWithHttpMessagesAsync to exchange the imageversion of a V1Deployment.
I passed a patch with the API object, the name and namespace like this:
var response = await _client.PatchNamespacedDeploymentWithHttpMessagesAsync(patchObject, deployment.Metadata.Name, deployment.Metadata.NamespaceProperty);
It results in this exception:

Reverting the version to 2.0.29 causes the method to work perfectly fine again.
What has changed between the versions, that this exception occurs? Are there properties missing on the patch object?
Thank you in advance!