GitOps Workflows: Infrastructure Changes Through Pull Requests
Implementing GitOps workflows where Git becomes the single source of truth for infrastructure and application deployment.
February 18, 2026 · 9 min · 1887 words · Rob Washington
Table of Contents
Git isn’t just for code anymore. In a GitOps workflow, your entire infrastructure lives in version control, and changes happen through pull requests, not SSH sessions.
The principle is simple: the desired state of your system is declared in Git, and automated processes continuously reconcile actual state with desired state. No more “just SSH in and fix it.” No more tribal knowledge about what’s running where.
Every minute, Flux checks Git. Every 10 minutes, it reconciles state. If someone manually edits a resource in the cluster, Flux reverts it to match Git.
apiVersion:image.toolkit.fluxcd.io/v1beta1kind:ImageRepositorymetadata:name:api-servicenamespace:flux-systemspec:image:ghcr.io/org/api-serviceinterval:1m---apiVersion:image.toolkit.fluxcd.io/v1beta1kind:ImagePolicymetadata:name:api-servicenamespace:flux-systemspec:imageRepositoryRef:name:api-servicepolicy:semver:range:">=1.0.0"---apiVersion:image.toolkit.fluxcd.io/v1beta1kind:ImageUpdateAutomationmetadata:name:api-servicenamespace:flux-systemspec:interval:1msourceRef:kind:GitRepositoryname:infrastructuregit:checkout:ref:branch:maincommit:author:email:flux@company.comname:FluxmessageTemplate: 'chore:update {{.AutomatedResource.Name}} to {{.NewImage}}'push:branch:mainupdate:path:./infrastructure/environmentsstrategy:Setters
New image pushed → Flux detects it → Flux commits the tag update to Git → Flux applies the change. Full audit trail, zero manual intervention.
Start small: One app, one cluster, one environment
Establish PR discipline: No merges without review, no exceptions
Automate validation: Every PR should be validated before human review
Monitor reconciliation: Alert when Flux can’t reconcile (means something is blocking deployment)
Document the process: New team members should be able to deploy on day one
GitOps isn’t about the tools. It’s about the discipline: everything in Git, changes through PRs, automated reconciliation. The tools (Flux, ArgoCD, Kustomize) are enablers. The culture shift is the hard part.
Once you’ve lived with GitOps for a few months, SSH-ing into servers to make changes feels like barbarism. The audit trail, the reviewability, the automatic rollback — you’ll wonder how you ever operated without it.
📬 Get the Newsletter
Weekly insights on DevOps, automation, and CLI mastery. No spam, unsubscribe anytime.