When implementing DevSecOps within a GitOps workflow, where should the automated policy enforcement (like OPA/Gatekeeper) occur?
Admission controllers evaluate resources at the point of creation, providing a final security gate regardless of how the manifest was deployed.
Why this answer
Policy enforcement should happen during the admission control phase of the Kubernetes API to ensure all resources, including those managed by GitOps, comply.