Skip to content

bilalbokharee/gitops-config-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitops-config-template

An opinionated gitops structure

  • Mono repo
  • Single branch i.e. main and then separate folders per environment
  • ArgoCD for application deployment
  • Helm for templatization

Hierarchy

Tenant (Product) owns Applications which are promoted to different Environments (Static and Dynamic)

Tenant >> Applications >> Environments

This gitops structure supports:

  • Multiple tenants/teams/products
  • Multiple environments (both static and dynamic)
  • Multiple clusters
  • Multiple apps

Mutliple tenants

We have 2 product based tenants:

  • gabbar
  • veeru

Who have exactly same structure

And then there is one special tenant which is SRE

Mutliple environments

We have 5 environments for each application:

  • build
  • preview
  • dev
  • stage
  • prod

Multiple clusters

We have 2 clusters:

  • Cluster # 1 holds: build, preview and dev
  • Cluster # 2 holds: stage and prod

Multiple apps

We have 3 apps:

  • gabbar has two apps: stakater-nordmart-review, stakater-nordmart-review-ui
  • veeru has one app: stakater-nordmart-inventory

About

gitops-config-template

Resources

Stars

Watchers

Forks

Packages

No packages published