Not quite. The "gh" is a digraph that replaced the archaic letter "yogh" (ȝ), which also disappeared along with the thorn, eth, and wynn. So it would have been pronounced "k-night"—much like it looks. We really just stopped pronouncing the "k" in that word.