Hi Sherri,
I hope you're feeling better. Here is a helpful article on the causes of kidney infections. It discusses the various types of bacteria that can cause a kidney infection, but there is not specific information on whether your diet or what you drink can affect the likelihood of an infection.
In addition, here is a good guide to urinary tract infections, including information on kidney infections, so you can get a better read on what's happening.
Hope this helps,
Sarah