Remove watch ns
@@ -13,7 +13,6 @@ import (
"github.com/apim-crd/apim-operator/pkg/apis"
"github.com/apim-crd/apim-operator/pkg/controller"
- //"github.com/operator-framework/operator-sdk/pkg/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/leader"
"github.com/operator-framework/operator-sdk/pkg/log/zap"
"github.com/operator-framework/operator-sdk/pkg/metrics"
@@ -62,12 +61,6 @@ func main() {
printVersion()
- // namespace, err := k8sutil.GetWatchNamespace()
- // if err != nil {
- // log.Error(err, "Failed to get watch namespace")
- // os.Exit(1)
- // }
-
// Get a config to talk to the apiserver
cfg, err := config.GetConfig()
if err != nil {
