Disable leader election for now

This commit is contained in:
Darren Shepherd 2019-01-31 15:42:38 -07:00
parent 1826084b24
commit 529e22ef80

View File

@ -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")