From 529e22ef802da4154bd1c492750c8782e8b60fc4 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 31 Jan 2019 15:42:38 -0700 Subject: [PATCH] Disable leader election for now --- pkg/server/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/server/server.go b/pkg/server/server.go index 8a1cc93ede..445aef1d5b 100644 --- a/pkg/server/server.go +++ b/pkg/server/server.go @@ -99,6 +99,7 @@ func startNorman(ctx context.Context, tlsConfig *dynamiclistener.UserConfig, con tlsServer, err = tls.NewServer(ctx, v1.ClientsFrom(ctx).ListenerConfig, *tlsConfig) return ctx, err }, + DisableLeaderElection: true, MasterControllers: []norman.ControllerRegister{ func(ctx context.Context) error { dataDir := filepath.Join(config.DataDir, "manifests")