From fef2f1a959341d2abaea6dadaecccc4952c284c9 Mon Sep 17 00:00:00 2001 From: "Igor D.C" Date: Mon, 21 Sep 2020 17:46:52 +0000 Subject: Fix missing operator-sdk dependency goautoneg goautoneg used to be available from bitbucket.org/ww/goautoneg but not anymore. operator-sdk has been importing it from github.com/munnerz/goautoneg for some time now but since we were using operator-sdk v0.9.0, it was still pointing at the old (now deleted) repository. This patch bumps operator-sdk to v0.19.0 (which doesn't use goautoneg from bitbucket), controller-runtime to v0.5.11, helm to v2.16.12 and all k8s.io dependencies to v0.16.9 (consistent with the k8s v1.16.9 we use). Code changes have been made to make all modules compatible with the new dependencies. All src go.sums have been cleaned (deleted and re-built). Issue-ID: MULTICLOUD-1143 Change-Id: I89fc39e9595b4a6a38dd90028b161bcecd3ef349 Signed-off-by: Igor D.C --- src/monitor/cmd/manager/main.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/monitor/cmd') diff --git a/src/monitor/cmd/manager/main.go b/src/monitor/cmd/manager/main.go index 67783f83..d056f394 100644 --- a/src/monitor/cmd/manager/main.go +++ b/src/monitor/cmd/manager/main.go @@ -11,7 +11,6 @@ import ( "github.com/onap/multicloud-k8s/src/monitor/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/restmapper" sdkVersion "github.com/operator-framework/operator-sdk/version" "github.com/spf13/pflag" "sigs.k8s.io/controller-runtime/pkg/client/config" @@ -81,7 +80,6 @@ func main() { // Create a new Cmd to provide shared dependencies and start components mgr, err := manager.New(cfg, manager.Options{ Namespace: namespace, - MapperProvider: restmapper.NewDynamicRESTMapper, MetricsBindAddress: fmt.Sprintf("%s:%d", metricsHost, metricsPort), }) if err != nil { -- cgit 1.2.3-korg