Browse Source

Disable leader election for now

pull/18/head
Darren Shepherd 6 years ago
parent
commit
529e22ef80
  1. 1
      pkg/server/server.go

1
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) tlsServer, err = tls.NewServer(ctx, v1.ClientsFrom(ctx).ListenerConfig, *tlsConfig)
return ctx, err return ctx, err
}, },
DisableLeaderElection: true,
MasterControllers: []norman.ControllerRegister{ MasterControllers: []norman.ControllerRegister{
func(ctx context.Context) error { func(ctx context.Context) error {
dataDir := filepath.Join(config.DataDir, "manifests") dataDir := filepath.Join(config.DataDir, "manifests")

Loading…
Cancel
Save