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
What happened (please include outputs or screenshots):
According to kubernetes/kubernetes#127746, if delete is called with an empty name, the client will not fail but instead call delete on the collection resource and delete the entire collection of resources.
What you expected to happen:
Delete either performs the delete of a single resource, or fails.
How to reproduce it (as minimally and precisely as possible):
The delete method compose the request to something like api/v1/namespaces/{namespace}/pods/{name} and when name is empty, it becomes api/v1/namespaces/{namespace}/pods, which by Kubernetes definition will delete all resources in the namespace / cluster.
What happened (please include outputs or screenshots):
According to kubernetes/kubernetes#127746, if delete is called with an empty name, the client will not fail but instead call delete on the collection resource and delete the entire collection of resources.
What you expected to happen:
Delete either performs the delete of a single resource, or fails.
How to reproduce it (as minimally and precisely as possible):
Call delete, but provide an empty name.
cc @zhifei92
The text was updated successfully, but these errors were encountered: