kyverno-mutation-templates

Automate Kubernetes resource mutations at admission time using Kyverno templates.

3|3|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill kyverno-mutation-templates
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kyverno-mutation-templates
Source: https://github.com/adaptive-enforcement-lab/claude-skills/tree/main/plugins/enforce/skills/kyverno-mutation-templates
Command: npx skills add https://github.com/adaptive-enforcement-lab/claude-skills --skill kyverno-mutation-templates

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires kubectl, and includes scripts (resource) components.

What problem does it solve?

Kyverno mutation policies automate the injection of labels, sidecars, and configuration into Kubernetes workloads at admission time, ensuring standardization without manual edits.

Core Features & Use Cases

  • Policy-driven mutations: automatically inject required labels and sidecars during resource creation.
  • Namespace and workload coverage: applies across Deployments, StatefulSets, Pods, and other workload types managed by Kyverno.
  • Safe governance: enforces mutation boundaries to avoid unintended changes and conflicts with other policies.

Quick Start

Install Kyverno mutation templates into your cluster and apply the policy set to begin automatic mutations on incoming workloads.

Frequently Asked Questions about kyverno-mutation-templates

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically inject labels and sidecars into Kubernetes deployments at admission time?

Kyverno mutation policies automate the injection of labels and sidecars into Kubernetes workloads at admission time. By applying mutation templates to your cluster, standard configurations are enforced automatically without requiring manual edits to incoming resources.

Does Kyverno mutation work across both Deployments and StatefulSets?

Kyverno mutation policies apply across multiple Kubernetes workload types, including Deployments, StatefulSets, and Pods. This namespace and workload coverage ensures consistent policy-as-code governance across clusters without requiring separate rules for each resource type.

How do I install and apply Kyverno mutation templates to start governing my cluster?

To apply Kyverno mutation templates, install the policy set into your cluster using kubectl. Once applied, the admission controller begins automatically mutating incoming workloads to enforce standard labels, sidecars, and security configurations.

Can I enforce safe boundaries around security contexts using Kyverno mutation policies?

Kyverno mutation policies enforce safe governance by defining mutation boundaries around security contexts. This prevents unintended changes and avoids conflicts with other policies, ensuring standardized configurations are applied safely across managed namespaces.

What is the best way to standardize Kubernetes configurations without manually editing resources?

Using policy-as-code workflows with Kyverno mutation templates is the best way to standardize configurations. It automatically governs resources at admission time, injecting required labels and sidecars dynamically so developers never need to manually edit deployment manifests.