Deploying dynamic review environments with MRs and Argo CD
Aug 2, 2022Joe Randazzo

Summary
This post details the integration of Argo CD's ApplicationSet with the GitLab Pull Request Generator to enable dynamic review environment provisioning. It provides a concrete example of configuring the ApplicationSet to discover GitLab merge requests and generate corresponding Kubernetes applications managed by Argo CD. The post outlines the necessary prerequisites, source code structure, and step-by-step setup for GitLab, Kubernetes, and Argo CD, including the creation of necessary secrets and CI/CD variables. It demonstrates the workflow from creating a merge request to deploying and accessing a dynamic review environment, and the subsequent cleanup upon closing the merge request.