@@ -342,6 +342,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
342
342
Log : ctrl .Log .WithName ("controllers" ).WithName ("AzureJSONTemplate" ),
343
343
Recorder : mgr .GetEventRecorderFor ("azurejsontemplate-reconciler" ),
344
344
ReconcileTimeout : reconcileTimeout ,
345
+ WatchFilterValue : watchFilterValue ,
345
346
}).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency }); err != nil {
346
347
setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONTemplate" )
347
348
os .Exit (1 )
@@ -352,6 +353,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
352
353
Log : ctrl .Log .WithName ("controllers" ).WithName ("AzureJSONMachine" ),
353
354
Recorder : mgr .GetEventRecorderFor ("azurejsonmachine-reconciler" ),
354
355
ReconcileTimeout : reconcileTimeout ,
356
+ WatchFilterValue : watchFilterValue ,
355
357
}).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency }); err != nil {
356
358
setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONMachine" )
357
359
os .Exit (1 )
@@ -408,6 +410,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
408
410
Log : ctrl .Log .WithName ("controllers" ).WithName ("AzureJSONMachinePool" ),
409
411
Recorder : mgr .GetEventRecorderFor ("azurejsonmachinepool-reconciler" ),
410
412
ReconcileTimeout : reconcileTimeout ,
413
+ WatchFilterValue : watchFilterValue ,
411
414
}).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachinePoolConcurrency }); err != nil {
412
415
setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONMachinePool" )
413
416
os .Exit (1 )
0 commit comments