diff --git a/injection/sharedmain/main.go b/injection/sharedmain/main.go index c70aa8d14a..526320fcd4 100644 --- a/injection/sharedmain/main.go +++ b/injection/sharedmain/main.go @@ -190,6 +190,8 @@ func MainWithConfig(ctx context.Context, component string, cfg *rest.Config, cto if cfg.Burst == 0 { cfg.Burst = len(ctors) * rest.DefaultBurst } + ctx = injection.WithConfig(ctx, cfg) + ctx, informers := injection.Default.SetupInformers(ctx, cfg) logger, atomicLevel := SetupLoggerOrDie(ctx, component)