Creating a Hook that deletes a Pod


wnatasha@...
 

I was wondering if there was example code that demonstrates a hook (job) that deletes a pod during pre-deletion.
I've tried implementing it myself, but it seems like it never "succeeds" and results in a time-out error, so it never deletes the pod.
I'm using an image and the commands from the software to do uninstallation.

Thank you,
Natasha 

Join cncf-helm@lists.cncf.io to automatically receive all group messages.