A team wants to ensure that all infrastructure modifications are peer-reviewed and auditable. Which GitOps principle best describes the practice of requiring a Pull Request for every change to the cluster state?
Trap 1: Automated reconciliation
This refers to the controller's action, not the review process.
Trap 2: Continuous drift detection
Drift detection identifies discrepancies, it does not enforce the review process.
Trap 3: Declarative desired state
Declarative state defines the 'what', but not the workflow for approval.
- A
Versioned and immutable state stored in Git
Using Git as the source of truth requires all changes to be tracked via commits, enabling audits and peer reviews.
- B
Automated reconciliation
Why wrong: This refers to the controller's action, not the review process.
- C
Continuous drift detection
Why wrong: Drift detection identifies discrepancies, it does not enforce the review process.
- D
Declarative desired state
Why wrong: Declarative state defines the 'what', but not the workflow for approval.