Skip to content

Latest commit

 

History

History
56 lines (35 loc) · 1.04 KB

README.md

File metadata and controls

56 lines (35 loc) · 1.04 KB

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