Bootstrap ArgoCD with Terraform & Helm Provider

GauravGaurav
1 min read

One of the primary concern related to ArgoCD as a Continuous Delivery Tool is The Chicken Or Egg problem as you need to have ArgoCD deployed on your Kubernetes Cluster so that you can deploy your Apps/Workloads on that k8s Cluster using GitOps Approach.

This Article talks about one of the way by which you can solve this Chicken Or Egg problem using a CI/CD Approach with Terraform + Helm Provider.

What the Gist ?

argocd_flow.png

Above flow diagram helps you build a CI/CD pipeline to successfully deploy and Manage Lifecycle of ArgoCD Helm chart based Deployment on a Microk8s Cluster.

  • It uses GitHub Flow Branching Strategy with a feature/* branch that will be finally merged to main Branch.

  • It uses Terraform + Helm Provider to bootstrap ArgoCD Helm Chart on Microk8s Cluster.

  • It uses GitHub Actions as CI/CD tool to run terraform that allows deployment of ArgoCD on MicroK8's Cluster.

GitHub Repo Link: Bootstrap ArgoCD

1
Subscribe to my newsletter

Read articles from Gaurav directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Gaurav
Gaurav