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
When calling the IKubernetesClient.Delete<T> method, the Serializer is sending in a TResource of the type we are deleting and expecting the same back. However, It seems that in 1.23+ this method returns the following json
Simply call the Delete on a custom object and observe
Expected behavior
A successful deletion without an exception
Screenshots
No response
Additional Context
This will actually successfully delete, but then throw a serialization exception. If this is in a Reconcile, then the next time it will get called, it will succeed as the NotFound status code is handled. However, in a finalizer, the finalizer fails
The text was updated successfully, but these errors were encountered:
Describe the bug
When calling the
IKubernetesClient.Delete<T>
method, the Serializer is sending in a TResource of the type we are deleting and expecting the same back. However, It seems that in 1.23+ this method returns the following jsonTo reproduce
Simply call the Delete on a custom object and observe
Expected behavior
A successful deletion without an exception
Screenshots
No response
Additional Context
This will actually successfully delete, but then throw a serialization exception. If this is in a Reconcile, then the next time it will get called, it will succeed as the
NotFound
status code is handled. However, in a finalizer, the finalizer failsThe text was updated successfully, but these errors were encountered: