Spherical functions on a $\mathfrak{p}$-adic Chevalley group