WIP: make trigger controller generate deployments