It might be difficult to find the genuine D318 harness. You might consider using a glow plug harness from a 3306. They are available from Cat, I had to replace the harness on my D6C a few years ago. I’ll look and see if I can get you parts # for both harnesses.
BP