forked from rook/rook
As of Golang 1.16, we can use `signal.NotifyContext()` from the signal package. Essentially it combines signal handling for termination as well as canceling the context to stop any ongoing operations. Signed-off-by: Sébastien Han <seb@redhat.com>