Sources — Git, OCI, Helm, Bucket
How source-controller fetches, verifies, and republishes external content as an in-cluster artifact, and how GitRepository, OCIRepository, HelmRepository, and Bucket differ in auth, verification, and scale characteristics.
Overview
Sources are the boundary
Sources are the boundary between the outside world and the cluster. In Flux v2 one component, source-controller, owns that boundary entirely, and its contract explains most of the architecture on top of it.
Key concepts
- Artifact
- Revision
- spec.ref precedence (GitRepository)
- spec.verify
- sparseCheckout
- spec.ignore and .sourceignore
- HelmRepository type: oci
- layerSelector
Interview questions
- Explain the artifact model. What does source-controller actually produce and how does a Kustomization consume it?
- Compare GitRepository and OCIRepository as the delivery mechanism. When would you move a fleet off Git?
- Walk through GitRepository authentication options and their tradeoffs.
- How do you guarantee that what Flux applies is what you signed?
- A GitRepository has interval 1h and its Kustomization has interval 1m. What actually happens when someone merges?
Sign up free to read the full topic
More DevOps topics
- Shift-Left Security
- Sigstore & Software Supply Chain Security
- SLO / SLI / Error Budgets
- SLSA — Software Supply Chain Security
- Software Supply Chain Security
- SonarQube — Quality Gates, Web API, Administration, Errors and Mistakes
- Static Analysis for C/C++ in CI
- Storage Errors — FailedMount, Pending PVCs, Multi-Attach and Full Volumes
- Strangler Fig
- Team Topologies
- Tekton
- Terraform — Production Errors, Mistakes and Recovery
Start free on Cariara · Coding problems · System design studio