Skip to content


Gatekeeper is an admission controller that validates requests to create and update Pods on Kubernetes clusters, using the Open Policy Agent (OPA). Using Gatekeeper allows administrators to define policies with a constraint, which is a set of conditions that permit or deny deployment behaviors in Kubernetes.

For complete project documentation, please visit the Gatekeeper. For reference templates refer Templates


Gatekeeper can be deployed by enabling the add-on via the following.

enable_gatekeeper = true

You can optionally customize the Helm chart that deploys Gatekeeper via the following configuration.

  enable_gatekeeper = true
  # Optional  gatekeeper_helm_config
  gatekeeper_helm_config = {
    name                       = "gatekeeper"
    chart                      = "gatekeeper"
    repository                 = ""
    version                    = "3.9.0"
    namespace                  = "gatekeeper-system"
    values = [
        clusterName: ${var.eks_cluster_id}

GitOps Configuration

The following properties are made available for use when managing the add-on via GitOps.

  argocd_gitops_config = {
    enable          = true
    clusterName     = var.eks_cluster_id