The managing director of Namibia Breweries Ltd (NBL) has resigned.