一键导入
kyverno-mutation-templates
Kyverno mutation policies that auto-inject labels, sidecars, and configuration into Kubernetes workloads at admission time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Kyverno mutation policies that auto-inject labels, sidecars, and configuration into Kubernetes workloads at admission time.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Production-grade Go CLI patterns, automated release workflows with Release Please, versioned docs, and coverage enforcement for DevSecOps build pipelines.
Design CLI commands that work independently and compose well for automation. Orchestrator pattern coordinates, subcommands execute discrete tasks.
Implement idiomatic Kubernetes operations with label selectors, strategic merge patches, and proper error handling for production-grade CLI tooling.
Choose the right Go CLI framework for Kubernetes-native tools. Decision matrix compares Cobra, urfave/cli, and Kong for ecosystem alignment and features.
Build Kubernetes-native CLIs in Go with type safety, testability, and complex orchestration logic for deployment tools and cluster automation.
Integrate Go CLIs with Kubernetes using client-go. Automatic config detection works on laptops, CI runners, and cluster pods with minimal RBAC setup.
| name | kyverno-mutation-templates |
| description | Kyverno mutation policies that auto-inject labels, sidecars, and configuration into Kubernetes workloads at admission time. |
Mutation policies modify resources at admission time, before they're persisted to etcd. This approach enforces standards without blocking deployments or requiring manual manifest updates.
See the full implementation guide in the source documentation.
Only mutate resources that match specific criteria:
app.kubernetes.io/monitored=true)When multiple policies mutate the same field:
patchStrategicMerge or patchesJson6902 for predictable mergingexclude blocks to prevent conflicting mutationsNever mutate security-critical fields:
Use validation policies for security boundaries. Use mutations for operational standards.
See examples.md for code examples.