You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're migrating from client.Patch(Apply) to client.Apply(). While making this transition, we've encountered the following issue.
Observed Behavior
When using client.Apply together with a configuration where config.ContentType = "application/vnd.kubernetes.protobuf", an error occurs during the deserialization process.
The protobuf decoder fails to parse the configuration object and throws the following error: object %v does not implement the protobuf marshalling interface and cannot be encoded to a *client.applyconfigurationRuntimeObject protobuf message
Steps to Reproduce
To reproduce the issue, you can add cfg.ContentType = "application/vnd.kubernetes.protobuf" in the client_suite_test.go file and execute the tests. This triggers the error during the deserialization stage.
Please let us know if we are doing anything wrong or this is indeed a bug. Thank you!