Bringing pastry to work is the number one surefire way of making friends in the office.

But one aspiring chef from Cambridgeshire, England, turned the tradition on its head by using a Passion cake to tender his resignation.

Yes: His letter of resignation was literally the icing on the cake.

Chris Holmes, who became a father a few weeks ago, decided there was no better time to finally chuck his job as a Border Force agent at Stansted Airport, and focus instead on his lifelong dream of running a successful catering business.

"Having recently become a father I now realise how precious life is and how important it is to spend my time doing something that makes me and other people happy," the 31-year-old chef wrote on top of the spiced carrot cake with pecans, sultanas, and coconut.

Known to friends and customers as Mr Cake, Holmes has had the privilege of working with celebrity chefs Gordon Ramsay and Marcus Wareing, and believes he has what it takes to make it in the food-making business.

"Timing-wise, it's quite a risk [to launch a business] with the economy as it is at the moment," he told The Guardian. "But I have looked at the books time and again and every way I look at it, it is viable as a sole employment."

As for his previous employers and colleagues, Holmes says they were "surprised and amazed," but the cake helped take some of the edge off.

"The people who tasted it say it was very nice," said a Border Force spokesman.

[H/T: Eater, photo via Twitter]