"Use a comma where the same word occurs twice in succession: 'Whatever is, is right.' 'All the books I have, have been in storage.'"
This is the reason that a comma is needed here: 'What will be, will be.' The verb "will be" is also included in its subject "What will be" immediately before it.