MagTape

A Kubernetes admission controller for mutating and validating.

Visit Website →

Overview

MagTape is an open-source Kubernetes admission controller developed by T-Mobile. It functions as both a validating and mutating webhook. Its primary mechanism is to act on annotations present on namespaces. When a resource is created in a namespace, MagTape checks the namespace's annotations to determine which policies to apply, allowing for flexible, per-namespace policy enforcement.

✨ Key Features

  • Validating and Mutating admission controller
  • Policy enforcement driven by namespace annotations
  • Injects environment variables and volumes
  • Validates pod security settings and image registries
  • Extensible with custom policies

🎯 Key Differentiators

  • Unique annotation-based approach for triggering policies
  • Strong focus on mutation for standardizing pod configurations
  • Simpler than general-purpose policy engines

Unique Value: Provides a flexible, namespace-centric way to validate and mutate Kubernetes resources using simple annotations.

🎯 Use Cases (3)

Applying default settings or sidecars to pods on a per-namespace basis Enforcing namespace-specific security policies Validating resource configurations based on their deployment environment (namespace)

✅ Best For

  • Mutating pods to add standard configurations based on namespace

💡 Check With Vendor

Verify these considerations match your specific requirements:

  • Complex, cluster-wide policies that are not tied to namespaces

🏆 Alternatives

Kyverno OPA/Gatekeeper

Offers a different policy attachment model (via annotations) compared to the CRD-based approaches of Kyverno and Gatekeeper, which may be more intuitive for certain use cases.

💻 Platforms

API

🔌 Integrations

Kubernetes

💰 Pricing

Contact for pricing
Free Tier Available

Free tier: Fully open source and free.

Visit MagTape Website →