Implement onDelete handler
Implement onDelete handler

Deletes the deployment.

Also, check that the type conversion succeeded, and return if it didn't.

kinvolk/habitat-operator,kinvolk/habitat-operator