Gatekeeper
More info
- Creator
- Microsoft, Google, Styra
- Released
- Type
- OPA admission controller
- License
- Apache 2.0
- Website
- open-policy-agent.github.io
- Source
- github.com/open-policy-agent
OPA-based admission controller for Kubernetes — blocks or mutates resources that violate policies written in Rego.
You define ConstraintTemplate (Rego code) and Constraint (parameters). Common policies: "all images must come from our registry", "no privileged containers", "every namespace must have resource quotas". Runs as a ValidatingAdmissionWebhook + MutatingAdmissionWebhook.
Competitor: Kyverno (policies in YAML, lower learning curve). Gatekeeper wins when policies are already in Rego or you share a policy library with non-K8s systems.