func RegisterShutdownChannel(cancelFn context.CancelFunc) {
	sigs := make(chan os.Signal, 1)
	signal.Notify(sigs, syscall.SIGINT, syscall.SIGTERM)
	go func() {
		sig := <-sigs
		klog.Infof("Receive %v to exit", sig)
		cancelFn()
	}()
}
RegisterShutdownChannel closes the channel when signaled for termination
package provisioner
import (
	"context"
	"os"
	"os/signal"
	"syscall"
	"k8s.io/klog/v2"
)