Update Signals Package
Switch to the proper k8s signals package instead of using the one in the
sample controller.
@@ -20,8 +20,6 @@ import (
"os"
"time"
- "github.com/kubernetes/sample-controller/pkg/signals"
-
"github.com/crunchydata/postgres-operator/internal/config"
"github.com/crunchydata/postgres-operator/internal/controller"
"github.com/crunchydata/postgres-operator/internal/controller/manager"
@@ -34,6 +32,7 @@ import (
kubeinformers "k8s.io/client-go/informers"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/cache"
+ "sigs.k8s.io/controller-runtime/pkg/manager/signals"
"github.com/crunchydata/postgres-operator/internal/kubeapi"
"github.com/crunchydata/postgres-operator/internal/operator"
