Object Bounds/Scale Gradient

I have a gradient texture I want scaled on Y to the extents of the object scale- any ideas?

I was looking Object Bounds, wanted something that was Local Space I could use as my UV coords?

Thanks!