k3s/pkg/controller/namespace/deletion
Andy Goldstein e8e87cb1c2 NS controller: don't stop deleting GVRs on error
If the namespace controller encounters an error trying to delete a
single GroupVersionResource, add the error to an aggregated list of
errors and continue attempting to delete all the GroupVersionResources
instead of stopping at the first error. Return the aggregated error list
(if any) when done. This allows us to delete as much of the content in
the namespace as we can in each pass.
2017-05-18 12:01:40 -04:00
..
BUILD NS controller: don't stop deleting GVRs on error 2017-05-18 12:01:40 -04:00
namespaced_resources_deleter.go NS controller: don't stop deleting GVRs on error 2017-05-18 12:01:40 -04:00
namespaced_resources_deleter_test.go