Use this when infrastructure changes must be reviewed in GitOps.
Change Review
Change review in GitOps means every change to infrastructure goes through a pull request with review and automated checks before merge, which then triggers deployment.
1. Change review happens in PRs.
2. Show rendered diffs.
3. Owners per environment.
4. Automated policy checks.
5. Approvals for production.
PR → rendered diff + policy checks → approval → merge
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verify GitOps review by matching approved render to reconciled revision and live state Verify boundary
Verify Change Review by recording the approved commit SHA and rendered diff, then expect the reconciler to report the same revision for the intended environment. Compare live state or controller diff after reconciliation and confirm only approved fields changed. Re-run the policy evaluation against the same render and expect the same pass result. A merged review shows approval of repository intent, but it does not show reconciliation completed or that the workload is healthy.
Step 2 Branch GitOps review faults at commit identity, rendering, policy and merge/reconcile handoff Narrow the fault
If GitOps Change Review shows an unexpected diff, verify the base/head commit and environment overlay before editing the manifest. If rendering is correct but policy blocks the change, inspect the exact policy rule and evaluated object. If review passes and merge succeeds but the cluster does not change, compare reconciler observed commit and sync status. If the wrong change applies, inspect branch/path selection and cached artifacts. Use one commit SHA from review through reconcile events to locate the first mismatch.
Step 3 Common mistakes Narrow the fault
- Merging without CI validation.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Every infrastructure change goes through a pull request.
- Automated checks run on the PR.
- Merging triggers deployment.
- PR with rendered diff (argocd app diff / kustomize build) — review
- CODEOWNERS per environment — approvers
- Policy checks (conftest/kyverno CLI) in CI — guard rails
ReferenceWhy it matters1 section · depth on demand
GitOps change review evaluates desired-state diff before reconciliation applies it
Change Review in GitOps should evaluate the exact commit and rendered desired state that the reconciler will consume. Repository text can differ from effective manifests because overlays, templates, policy engines and environment substitutions transform it. Review therefore needs commit identity, environment, rendered diff and policy result. The reconciler owns application of the approved desired state; a merged pull request shows repository intent, not cluster convergence.
ReferenceImportant terms & boundaries1 section · depth on demand
In depth
Change review in GitOps happens in the pull request: reviewers see the diff of the desired state, CI shows validation results and a preview of what will change in the cluster, and merging is the approval. Because the merge triggers deployment, review quality directly decides production quality.
What makes reviews effective:
| Practice | Benefit |
|---|---|
| Rendered diff (Helm/Kustomize output) in PR | Reviewers see real manifests, not just values |
| Policy checks in CI | Rules enforced without relying on reviewers |
| CODEOWNERS | Right people review the right paths |
| Small PRs | Easier, faster, safer reviews |
| Required checks and approvals | No unreviewed changes to production |
Tools such as Argo CD diff previews or flux diff post the expected cluster changes as PR comments.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in GitOps > Change Review. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://opengitops.dev/ · confidence 94%