Originally, but this guy's been using it with good results on headlights: http://www.autogeekonline.net/forum/show-n-shine/37701-headlight-sealant-spar-urethane-vs-opti-coat-2-0-a.html
Headlights will flex and expand due to movement and temperature changes, though maybe not as much as a water tank.