canonical / charmed-kubeflow-chisme

Shared Utilities used across Charmed Kubeflow
Apache License 2.0
1 stars 4 forks source link

feat: Add error handling for deleting resources #62

Closed phoevos closed 1 year ago

phoevos commented 1 year ago

Capture ApiErrors when attempting to delete K8s resources and provide an option to ignore 404 errors, since they don't affect the deletion. Catch everything else and raise it at the end, after deletion is attempted for all detected resources.

Add logging to the apply_many and delete_many helpers.