CheckOps
OPA Gatekeeper
OPA Gatekeeper is an Apache-2.0 Kubernetes admission controller that enforces Open Policy Agent Rego policies through ConstraintTemplates and Constraints, with audit of existing resources.
- Open source
- Free
- Policy As Code
- Kubernetes
- Security testing
- Production monitoring & observability
- Release & CI gates
Latest public signals
Not refreshed yet. Refresh reads the public site and, when the entry has a GitHub repository, the latest release.
Introduction
Gatekeeper is the Kubernetes policy controller from the Open Policy Agent project. It runs as a validating (and optionally mutating) admission webhook and uses OPA to decide whether resources entering the cluster comply with policy.
Policies are packaged as two kinds of resources. A ConstraintTemplate holds the Rego logic and declares parameters; a Constraint instantiates that template with specific values and a scope, such as ‘all Deployments in production namespaces must have an owner label’. This split lets a platform team publish reusable templates while application teams or admins configure them.
Gatekeeper also audits. It periodically checks existing resources against constraints and records violations on the constraint status, which helps when you introduce a rule to a cluster that already has non-compliant workloads. A community-maintained Gatekeeper Library provides common templates, including many Pod Security policies.
For CI, the gator CLI evaluates templates and constraints against manifests offline and runs policy test suites, so rules can be verified before they are applied. In the quality loop, Gatekeeper is a production guardrail and a release check for cluster configuration.
The source code is at open-policy-agent/gatekeeper on GitHub under the Apache-2.0 licence, with about 4,300 stars; the most recent commit was on 6 November 2026.
Features
- Admission control: Rejects non-compliant resources at the API server.
- ConstraintTemplates: Reusable Rego policies with typed parameters.
- Audit: Reports violations in resources that already exist.
- Mutation: Optional mutation policies to set defaults.
- gator CLI: Test and evaluate policies offline in CI.
- Policy library: Community templates for common security and best-practice rules.
Pros
- Reuses OPA: Teams with Rego skills can share logic across systems.
- Free to use: Open source under the Apache-2.0 licence, so the core tool costs nothing to use.
- Actively maintained: The repository had commits as recent as 6 November 2026.
- Community: About 4,300 GitHub stars.
Cons
- Rego required: Writing templates needs Rego knowledge.
- Kubernetes only: Enforcement is limited to clusters.
- Two-resource model: Templates plus constraints add a layer of indirection for newcomers.
Usage and Links (Example)
helm repo add gatekeeper https://open-policy-agent.github.io/gatekeeper/charts
helm install gatekeeper/gatekeeper --name-template=gatekeeper --namespace gatekeeper-system --create-namespace
# test policies offline
gator verify ./policy-tests/...
Use enforcementAction: dryrun on new Constraints until audit results are clean.
Resources:
Pricing
OPA Gatekeeper is free and open source under the Apache-2.0 licence.
Recommended for?
- Clusters standardising on OPA and Rego for policy.
- Security teams that need audit of existing resources.
- Platform teams publishing reusable policy templates.
Conclusion
Gatekeeper brings OPA to Kubernetes admission with a clean template-and-constraint model and useful audit.
Pick it when Rego is already your policy language; otherwise compare it with Kyverno’s YAML-based approach.
On CheckOps, OPA Gatekeeper is filed under the Security testing, Production monitoring & observability and Release & CI gates stages. Related tools listed here include Open Policy Agent, Kyverno, Conftest, Kubescape, kube-bench and KubeLinter. Which one fits best depends mostly on your stack, your team’s size and skills, and whether you prefer to run tools yourself or pay for a managed service. This page reflects the official website, documentation and repository as they stood on 11 November 2026.
Alternatives
Other tools on CheckOps that cover similar ground. Open a page, or compare one with OPA Gatekeeper side by side.
OOpen Policy AgentOpen Policy Agent (OPA) is an Apache-2.0, CNCF-graduated general-purpose policy engine that evaluates Rego policies for Kubernetes, CI pipelines, APIs, Terraform and more.Compare with OPA Gatekeeper
KKyvernoKyverno is an Apache-2.0, CNCF policy engine for Kubernetes that validates, mutates, generates and cleans up resources using YAML and CEL policies, with a CLI for testing policies in CI.Compare with OPA Gatekeeper
CConftestConftest is an Apache-2.0 CLI from the Open Policy Agent project for writing Rego tests against structured configuration such as Kubernetes YAML, Terraform, Dockerfiles and JSON.Compare with OPA Gatekeeper
KKubescapeKubescape is an Apache-2.0 Kubernetes security platform for IDEs, CI/CD and clusters, with risk analysis, compliance frameworks, misconfiguration and vulnerability scanning.Compare with OPA Gatekeeper
Kkube-benchkube-bench is Aqua Security's Apache-2.0 tool that checks whether Kubernetes is deployed according to the CIS Kubernetes Benchmark.Compare with OPA Gatekeeper
KKubeLinterKubeLinter is StackRox's Apache-2.0 static analysis tool that checks Kubernetes YAML files and Helm charts against best practices for security and production readiness.Compare with OPA Gatekeeper