rain cover; rain fly
Specifically the waterproof outer layer of a tent or backpack, designed to keep rain out.
pocket flap
The flap that covers a pocket opening, often on outdoor or military clothing, to keep rain out.
This jacket has a flap over the chest pocket.
I set up the tent's rain fly securely to prepare for rain.