If the graph is connected, the eigenvalues are k with multiplicity 1, and two other eigenvalues,
When the graph remains connected, the eigenvalues consist of k with multiplicity 1, along with two other eigenvalues,