Sriram Krishnan's announcement follows a number of resignations from the Trump administration this year.