@@ -345,14 +345,15 @@ func setupEKSReconcilersAndWebhooks(ctx context.Context, mgr ctrl.Manager, awsSe
345
345
346
346
setupLog .Debug ("enabling EKS control plane controller" )
347
347
if err := (& ekscontrolplanecontrollers.AWSManagedControlPlaneReconciler {
348
- Client : mgr .GetClient (),
349
- EnableIAM : enableIAM ,
350
- AllowAdditionalRoles : allowAddRoles ,
351
- Endpoints : awsServiceEndpoints ,
352
- WatchFilterValue : watchFilterValue ,
353
- ExternalResourceGC : externalResourceGC ,
354
- AlternativeGCStrategy : alternativeGCStrategy ,
355
- WaitInfraPeriod : waitInfraPeriod ,
348
+ Client : mgr .GetClient (),
349
+ EnableIAM : enableIAM ,
350
+ AllowAdditionalRoles : allowAddRoles ,
351
+ Endpoints : awsServiceEndpoints ,
352
+ WatchFilterValue : watchFilterValue ,
353
+ ExternalResourceGC : externalResourceGC ,
354
+ AlternativeGCStrategy : alternativeGCStrategy ,
355
+ WaitInfraPeriod : waitInfraPeriod ,
356
+ TagUnmanagedNetworkResources : feature .Gates .Enabled (feature .TagUnmanagedNetworkResources ),
356
357
}).SetupWithManager (ctx , mgr , controller.Options {MaxConcurrentReconciles : awsClusterConcurrency , RecoverPanic : pointer .Bool (true )}); err != nil {
357
358
setupLog .Error (err , "unable to create controller" , "controller" , "AWSManagedControlPlane" )
358
359
os .Exit (1 )
0 commit comments