Upgrading from TRP to Shimano disc brakes
You might want to start by checking out this thread.

The Ultegra brakes will be flat mount. It sounds like your frame has an IS mount, and your fork has a post mount. AFAICT, there is no such thing as an adapter for flat-mount brakes on a post-mount fork, nor for flat to IS. Yay standards!