Keurig Dr. Pepper CEO Ozan Dokmecioglu resigned Thursday after violating the company’s code of conduct.