In the Kubernetes api call to create the container, pass the shell detector script into the args instead of cmd.
#4125 (closed)