https://www.electro-tech-online.com/threads/fuel-gauge.111163/#post-910389
I played with a similar project some time back and ended up using 13 reed switches in a brass tube which avoided having my electrical components in contact with gasoline and I used a home made float with magnets in it for my fuel gauge sender.
In the attached drawing, the inner part of the capacitor could be just about any thing, stainless, aluminium, steel, or some metal that's coated or paint to avoid corrosion.
IMHO, you would want the height of one of the capacitor plates to be as small as possible, yet cover min and max level so the change in level has the highest percentage possible.
The outer plate should be glued to the container wall so it can't warp or flex so the space between plates available to be filled with water remains constant.
The circuit board could be mounted to the outside plate to minimize the influence from the leads.
When I built my capacitive gauge, it worked quite well, so with the addition of a couple of comparator set to turn your pump on and off at the proper levels, you should learn a lot
Oh yea, be sure and follow the link in the first post of the referenced link,
http://www.rst-engr.com/kitplanes/ June, July & Aug of 2000