SAN FRANCISCO -- The Giants were optimistic that they would get a deal done with Tyler Anderson before Monday’s non-tender deadline. A day later, they did.

The club announced Tuesday night that Anderson, a left-handed starter, agreed to a one-year deal. Financial details were not immediately available but Anderson was due about $2.6 million in arbitration and likely signed below that number.

Anderson, 29, should now enter spring training as a candidate to win a rotation spot. Team officials were impressed with his past work in Colorado and view him as a potential back-end starter if healthy.

Anderson had knee surgery on June 11 and missed most of the 2019 season. He made five starts before going down, allowing 27 runs in 20 2/3 innings. Anderson was a fixture in Colorado's rotation a year earlier, posting a 4.55 ERA in 32 starts. He led the league in home runs allowed in 2018, but had a 1.27 WHIP and averaged 8.4 strikeouts per nine innings.

[RELATED: Eight non-tendered vets who could be great fit for Giants]

The Giants currently have Jeff Samardzija and Johnny Cueto locked into their 2020 rotation with Tyler Beede and Logan Webb set for significant roles. Webb, though, will be on an innings limit, and the Giants have been looking for veteran depth.

Anderson could provide that regardless of what happens with Madison Bumgarner, who has several suitors in free agency.