Skip to content

PatchNamespacedDeploymentWithHttpMessagesAsync provokes a "UnprocessableEntity" exception #510

@KevinDitschke

Description

@KevinDitschke

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:
image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions