Describe the bug
When delete is called on a resource it causes a null pointer exception to be thrown and then the controller pod goes into crashloopbackoff. The resource does get deleted but the pod is stuck in a restarting state.
Steps to reproduce
Create a sagemaker resource using ACK i.e(endpoint) then attempt to delete it and throws an exception.
Expected outcome
Delete to run without crashloopbackoff.
Environment
Sagemaker-Contoller