Skip to content

xsreality/argocd-applicationset-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Argo CD ApplicationSet Controller

This repository contains example configuration for deploying Argo CD Applications with ApplicationSet Controller.

Tested with ArgoCD v2.5.10

Deploying the example

Pre-requisites

  1. Kubernetes cluster with argocd namespace.
  2. Argo CD deployed in argocd namespace. Quick deploy: helm upgrade --install argocd-demo argo/argo-cd -n argocd. This also deploys the ApplicationSet controller.

Deploy Top-Level Application

Clone the repository and run below command in root of the repository. This will deploy an Application which will deploy the ApplicationSet resource which will end up deploying two "tenant" Applications.

kubectl apply -f top-level-app/TopLevelApplication.yaml -n argocd

Eventually, all applications will get deployed and the Argo CD home page should look like this:

image

The ApplicationSet deploys two "tenant" apps which are actually Wordpress installation with different values.yaml for each tenant.

The ApplicationSet is deployed using the Git Files Generator.

Please read the accompanying blog for further explanation.

About

Demo repository for Argo CD ApplicationSet Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published