Wire contexts to RBAC controllers
This commit is contained in:
@@ -31,6 +31,6 @@ func startClusterRoleAggregrationController(ctx context.Context, controllerConte
|
||||
go clusterroleaggregation.NewClusterRoleAggregation(
|
||||
controllerContext.InformerFactory.Rbac().V1().ClusterRoles(),
|
||||
controllerContext.ClientBuilder.ClientOrDie("clusterrole-aggregation-controller").RbacV1(),
|
||||
).Run(5, ctx.Done())
|
||||
).Run(ctx, 5)
|
||||
return nil, true, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user