How fluxcd/flux2-kustomize-helm-example works
This repository is a Flux and Kustomize configuration example for deploying Podinfo and shared infrastructure to staging and production clusters. Flux reconciles per-cluster definitions; those definitions separate infrastructure from applications, and application overlays combine shared Helm configuration with environment-specific values. Infrastructure controllers precede infrastructure custom resources, which in turn precede application reconciliation. The README documents these dependencies and Helm version policies; no source excerpts were supplied, so the graph omits undocumented runtime details.
Main entry points: configs Infrastructure resources · staging/infrastructure.yaml Staging infrastructure sync · production/infrastructure.yaml Production infrastructure sync · apps.yaml Staging apps sync
Components 25
Cluster reconciliation
- Staging artifacts
clusters/staging/artifacts.yaml - Production artifacts
clusters/production/artifacts.yaml - Staging infrastructure sync
clusters/staging/infrastructure.yaml - Production infrastructure sync
clusters/production/infrastructure.yaml - Staging apps sync
clusters/staging/apps.yaml - Production apps sync
clusters/production/apps.yaml
Podinfo applications
- Shared Podinfo release
apps/base/podinfo/release.yaml - Podinfo namespace
apps/base/podinfo/namespace.yaml - Podinfo Helm repository
apps/base/podinfo/repository.yaml - Staging overlay
apps/staging/kustomization.yaml - Staging values
apps/staging/podinfo-values.yaml - Production overlay
apps/production/kustomization.yaml - Production values
apps/production/podinfo-values.yaml
Infrastructure
- Controller releases
infrastructure/controllers - cert-manager release
infrastructure/controllers/cert-manager.yaml - Envoy Gateway release
infrastructure/controllers/envoy-gateway.yaml - Infrastructure resources
infrastructure/configs - Cluster issuers
infrastructure/configs/cluster-issuers.yaml - Gateway configuration
infrastructure/configs/gateway.yaml
Other components
- Configuration repository
- Flux controllers
- Helm chart service
- OCI chart registry
- Kubernetes clusters
- Let's Encrypt API
Connections 37
- Configuration repository → Staging artifacts: provides config
README.md - Configuration repository → Production artifacts: provides config
README.md - Staging artifacts → Staging infrastructure sync: splits artifacts
README.md - Staging artifacts → Staging apps sync: splits artifacts
README.md - Production artifacts → Production infrastructure sync: splits artifacts
README.md - Production artifacts → Production apps sync: splits artifacts
README.md - Flux controllers → Staging infrastructure sync: reconciles
README.md - Flux controllers → Production infrastructure sync: reconciles
README.md - Flux controllers → Staging apps sync: reconciles
README.md - Flux controllers → Production apps sync: reconciles
README.md - Staging infrastructure sync → Controller releases: syncs
README.md - Production infrastructure sync → Controller releases: syncs
README.md - Staging infrastructure sync → Infrastructure resources: syncs
README.md - Production infrastructure sync → Infrastructure resources: syncs
README.md - Staging infrastructure sync → Infrastructure resources: orders after controllers
README.md - Production infrastructure sync → Infrastructure resources: orders after controllers
README.md - Staging apps sync → Staging overlay: syncs
README.md - Production apps sync → Production overlay: syncs
README.md - Staging apps sync → Infrastructure resources: waits for
README.md - Production apps sync → Infrastructure resources: waits for
README.md - Staging overlay → Shared Podinfo release: patches shared release
README.md - Staging overlay → Staging values: applies values
README.md - Production overlay → Shared Podinfo release: patches shared release
README.md - Production overlay → Production values: applies values
README.md - Shared Podinfo release → Podinfo namespace: targets namespace
README.md - Shared Podinfo release → Podinfo Helm repository: references chart source
README.md - Flux controllers → Podinfo Helm repository: monitors versions
README.md - Flux controllers → Helm chart service: installs and upgrades
README.md - cert-manager release → OCI chart registry: references chart source
README.md - Flux controllers → OCI chart registry: checks chart versions
README.md - Infrastructure resources → Cluster issuers: includes resources
README.md - Infrastructure resources → Gateway configuration: includes resources
README.md - Cluster issuers → Let's Encrypt API: requests certificates
README.md - Staging infrastructure sync → Kubernetes clusters: applies resources
README.md - Production infrastructure sync → Kubernetes clusters: applies resources
README.md - Staging apps sync → Kubernetes clusters: applies releases
README.md - Production apps sync → Kubernetes clusters: applies releases
README.md