Commit 529e22ef authored by Darren Shepherd's avatar Darren Shepherd

Disable leader election for now

parent 1826084b
...@@ -99,6 +99,7 @@ func startNorman(ctx context.Context, tlsConfig *dynamiclistener.UserConfig, con ...@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment