How pradeepa-pbm/argocd-example-apps works
Purpose and Consumption Model
This is a GitOps example catalog for Argo CD, not a standalone application. Argo CD is the runtime entry point: it registers repository paths as Applications or ApplicationSets, renders their declared configuration format, and reconciles resulting Kubernetes resources to target clusters.
Primary entry points are independently deployable directories, plus the app-of-apps chart at apps/Chart.yaml and apps/templates/applications.yaml.
Application Aggregation
The apps Helm chart defines an Argo CD “app composed of other apps” pattern. Rendering apps/templates/applications.yaml from apps/values.yaml produces child Argo CD Application resources, creating a control-plane boundary between portfolio orchestration and individual workload definitions.
ApplicationSet Generation
applicationset/ demonstrates dynamic Application creation via generator inputs rather than static Application definitions. Generator variants include cluster, Git discovery, list, matrix, merge, and pull-request sources: applicationset/cluster.yaml, applicationset/git.yaml, and applicationset/pull-request.yaml. It also covers progressive rollout of generated applications and namespace-scoped ApplicationSets in applicationset/progressive-sync.yaml and applicationset/appset-any-ns-team-platform.yaml.
Manifest Rendering Variants
The same guestbook-style workload is expressed through several Argo CD-supported source/rendering boundaries:
• Plain Kubernetes YAML: guestbook/guestbook-ui-deployment.yaml, guestbook/guestbook-ui-svc.yaml
• Helm: helm-guestbook/Chart.yaml, helm-guestbook/templates/deployment.yaml, helm-guestbook/values-production.yaml
• Kustomize: kustomize-guestbook/kustomization.yaml, kustomize-guestbook/guestbook-ui-deployment.yaml
• Jsonnet, including top-level arguments: jsonnet-guestbook/guestbook-ui.jsonnet, jsonnet-guestbook-tla/guestbook-ui.jsonnet
Argo CD’s repository/rendering service is the key boundary: source files are transformed into Kubernetes manifests before cluster reconciliation.
Helm and Plugin-Based Composition
Helm examples cover native charts, hooks, and upstream dependency customization: helm-dependency/Chart.yaml, helm-dependency/values.yaml, and helm-hooks/manifests.yaml. Config-management plugin examples delegate manifest generation to external tooling installed in the Argo CD repo-server environment: plugins/kasane/Kasanefile, plugins/kasane/patch.jsonnet, plugins/nix/flake.nix, and plugins/kustomized-helm/kustomization.yaml.
This makes plugin binaries and their runtime dependencies operational infrastructure, rather than application-container dependencies.
Deployment and Synchronization Control
Argo CD sync lifecycle behavior is modeled as Kubernetes annotations/hooks and ordering metadata. pre-post-sync/pre-sync-job.yaml and pre-post-sync/post-sync-job.yaml bracket workload reconciliation with Jobs. sync-waves/manifests.yaml demonstrates ordered sync stages. Blue-green rollout delegates traffic and replica transition control to the Argo Rollouts controller through blue-green/templates/rollout.yaml and blue-green/templates/services.yaml; this requires Argo Rollouts CRDs/controller in the destination cluster.
Workload Topologies
The repository ranges from lightweight config-only apps (lightweight/app-a/configmap.yaml) to the Sock Shop microservices system. Sock Shop’s Kustomize entry point, sock-shop/kustomization.yaml, assembles deployments, services, ingress, databases, and RabbitMQ from sock-shop/base/. Its external-facing boundary is sock-shop/base/front-end-ingress.yaml; internal service-to-service and stateful dependencies are represented by resources such as sock-shop/base/catalogue-dep.yaml and sock-shop/base/rabbitmq-dep.yaml.
Core runtimes are Kubernetes, Argo CD, Helm, Kustomize, and Jsonnet; optional external control-plane integrations include Git hosting/PR APIs for the pull-request ApplicationSet generator and Argo Rollouts for progressive delivery.
Main entry points: applications.yaml Child Application template · pre-sync-job.yaml Sync lifecycle controls · pull-request.yaml Pull-request generator · Chart.yaml App-of-apps chart
Components 18
GitOps catalog
Deployable examples and composition sources.
- App-of-apps chart · Defines the portfolio-level application composition.
apps/Chart.yaml - Child Application template · Renders one Argo CD Application per configured child.
apps/templates/applications.yaml - Application portfolio · Supplies the child application definitions.
apps/values.yaml - ApplicationSet generators · Creates dynamic Applications from cluster, Git, list, matrix, merge, and PR inputs.
applicationset/cluster.yaml - Git discovery generator
applicationset/git.yaml - Pull-request generator · Uses Git hosting pull-request APIs as generator input.
applicationset/pull-request.yaml - Progressive and scoped AppSets · Shows progressive sync and namespace-scoped generation.
applicationset/progressive-sync.yaml - Guestbook source variants · Equivalent workloads authored in Argo CD-supported formats.
guestbook/guestbook-ui-deployment.yaml - Helm composition examples · Covers dependencies, value overrides, and Helm hooks.
helm-dependency/Chart.yaml - Config-management plugins · Repo-server plugins delegate generation to installed tooling.
plugins/kasane/Kasanefile - Sync lifecycle controls · Pre/post sync Jobs and ordered reconciliation metadata.
pre-post-sync/pre-sync-job.yaml - Sock Shop topology · Assembles microservices, ingress, databases, and RabbitMQ.
sock-shop/kustomization.yaml
Argo CD control plane
Registers sources, generates Applications, renders manifests, and reconciles clusters.
- Argo CD · Application and ApplicationSet control plane.
- Repository rendering service · Renders repository sources into Kubernetes manifests.
- Argo CD Applications · Connect repository paths to destination clusters.
Destination cluster
Kubernetes resources and optional rollout controller.
- Kubernetes resources · Deployments, Services, Jobs, ingress, and stateful dependencies.
- Argo Rollouts · Required for blue-green traffic and replica transitions.
blue-green/templates/rollout.yaml
Other components
- Git hosting PR API
Connections 18
- Application portfolio → Child Application template: configures
- App-of-apps chart → Child Application template: contains
- Child Application template → Argo CD Applications: renders child resources
- ApplicationSet generators → Argo CD: registered as
- Git discovery generator → Argo CD: registered as
- Pull-request generator → Argo CD: registered as
- Progressive and scoped AppSets → Argo CD: registered as
- Git hosting PR API → Pull-request generator: supplies PRs
- Argo CD → Argo CD Applications: generates and manages
- Argo CD Applications → Repository rendering service: select source paths
- Guestbook source variants → Repository rendering service: rendered from
- Helm composition examples → Repository rendering service: rendered from
- Config-management plugins → Repository rendering service: extends rendering
- Sync lifecycle controls → Repository rendering service: rendered with
- Sock Shop topology → Repository rendering service: assembled by
- Repository rendering service → Kubernetes resources: reconciled manifests
- Sync lifecycle controls → Kubernetes resources: hooks and ordering
- Argo Rollouts → Kubernetes resources: manages blue-green rollout