From the course: GitOps Foundations

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Git as the source of truth

Git as the source of truth - Git Tutorial

From the course: GitOps Foundations

Git as the source of truth

- [Instructor] Our next principle declares Git as the single source of truth for our system. As simple as that sounds, it's really important for GitOps. Let's start with our blueprint analogy. A blueprint represents the desired state of a house. It's what the homeowner, the builder, and the workers agree the house should look like when it's finished. If the blueprints do not have a bathroom, the house won't either. If you want to change the house by adding another room, the blueprints need to be updated so that everybody working on the house understands what needs to be built. All right, let's tie that to GitOps. In GitOps we store everything in Git. So inside of Git we'll find things like the application code, tests, image definitions, and our declared infrastructure configuration. Now, I will highlight that GitOps is meant for operations, so it really focuses on the infrastructure code. But still, anything pertaining to the…

Contents