Pattern: GitOps

Use Git as a single source of truth for infrastructure configuration


Following Infrastructure-as-Code practices your infrastructure is defined as code.

In this Context

You want to deliver changes quicker, but require security and reliability. How do you coordinate application delivery and infrastructure management in a controlled, secure manner without reducing velocity?


Use a Git repository to store the current (desired) state of your infrastructure and applications in production. An in cluster service to monitor the repository and adjust the current state as needed.


You get the single source of truth about your infrastructure and an easy way to audit changes to it.