Open jrryjcksn opened 5 years ago
Usecase - open a namespace, delete a few objects and then invoke the delete operation to remove all the model objects remaining from the namespace.
Alternate usecase - open a namespace, remove objects and apply the result which would update the namespace to reflect the updated model. i.e. perform deletes and any updates to the remaining objects. Although this seems much more difficult. - this would be leveraging the apply functionality where it diffs what is passed in and what is running and removes what isn't passed in.
Work on the delete namespace first. This is an optimization around the round-trip model. I suspect we only want the alternate usecase as that is what folks expect.
Within the editor, provide a delete button (similar to apply) that passes a flat file to the backend to have all the object deleted. aka kubectl delete -f