A liner for an annular downhole component is comprised of an expandable metal tube having indentations along its surface. The indentations are formed in the wall of the tube either by drawing the tube through a die, by hydroforming, by stamping, or roll forming and may extend axially, radially, or spirally along its wall. The indentations accommodate radial and axial expansion of the tube within the downhole component. The tube is inserted into the annular component and deformed to match an inside surface of the component. The tube may be expanded using a hydroforming process or by drawing a mandrel through the tube. The tube may be expanded in such a manner so as to place it in compression against the inside wall of the component. The tube is useful for improving component hydraulics, shielding components from contamination, inhibiting corrosion, and preventing wear to the downhole component during use. It may also be useful for positioning conduit and insulated conductors within the component. An insulating material may be disposed between the tube and the component in order to prevent galvanic corrosion of the downhole component.