Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-gitops

GitOps configuration repository for Kargo in Action (Manning). When Kargo promotes a new image tag, it updates the Kustomize overlay in this repo, and Argo CD syncs the change into the cluster.

This repo backs two parts of the book.

Chapter 3 — Getting started (the demo-app walkthrough)

A single service, demo-app, promoted through dev → pre-prod → prod. This is the content you fork/clone in chapter 3.

base/                       # demo-app base manifests
envs/{dev,pre-prod,prod}/    # per-environment Kustomize overlays (Kargo writes the image tag here)
setup/                      # Kargo Project, Warehouse, Stages + the Argo CD Applications
configure.sh                # helper to point the setup at your fork

Kargo's kustomize-set-image step writes to envs/<env>/, and each Argo CD Application watches one of those overlays.

Chapter 7 — Scaling across services (payments + auth)

Two coordinated services demonstrating the multi-service patterns.

apps/{payments,auth}/base + envs/{dev,pre-prod,prod}/
argocd/                     # one Argo CD Application per service/environment
kargo/                      # Kargo Project, Warehouses, and Stages for both services
  • dev and pre-prod: auto-promotion enabled
  • prod: manual promotion required

Related repositories

License

MIT

About

demo-gitops example repo

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages