@@ -409,7 +409,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
409409 Timeouts : timeouts ,
410410 WatchFilterValue : watchFilterValue ,
411411 CredentialCache : credCache ,
412- }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency , SkipNameValidation : ptr . To ( true ) }); err != nil {
412+ }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency }); err != nil {
413413 setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONTemplate" )
414414 os .Exit (1 )
415415 }
@@ -420,7 +420,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
420420 Timeouts : timeouts ,
421421 WatchFilterValue : watchFilterValue ,
422422 CredentialCache : credCache ,
423- }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency }); err != nil {
423+ }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachineConcurrency , SkipNameValidation : ptr . To ( true ) }); err != nil {
424424 setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONMachine" )
425425 os .Exit (1 )
426426 }
@@ -478,7 +478,7 @@ func registerControllers(ctx context.Context, mgr manager.Manager) {
478478 Timeouts : timeouts ,
479479 WatchFilterValue : watchFilterValue ,
480480 CredentialCache : credCache ,
481- }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachinePoolConcurrency }); err != nil {
481+ }).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : azureMachinePoolConcurrency , SkipNameValidation : ptr . To ( true ) }); err != nil {
482482 setupLog .Error (err , "unable to create controller" , "controller" , "AzureJSONMachinePool" )
483483 os .Exit (1 )
484484 }
0 commit comments