The managing director of Namibia Breweries has resigned.