To be precise, potassium (K) and soduim (Na) are both metals. Salt, as a stand-alone term, generally refers to sodium chloride (NaCl), but salt as a general term means a compund combining positively charged metal ions with negative ions. Na+ and K+ are used to create a voltage gradient across cell membranes which powers active transport of molecules needed for cell function. So it's kind of important.
You should ask your doctor about what foods you should avoid with spiro. Mine says none; she says only that you chould keep from taking any dietary supplements (like vitamin pills) that have potassium in them. If you have regular blood work, especially early on, you can catch any problems that arise.