📦 Helm Chart 审计器
v1.0.0审计 Helm Chart 的安全性、最佳实践、模板正确性及生产就绪性——检查 values、templates、hooks、依赖和 RBAC。
0· 0·0 当前·0 累计
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install helm-chart-auditor
镜像加速npx clawhub@latest install helm-chart-auditor --registry https://cn.longxiaskill.com✓ 镜像可用
技能文档
Helm Chart Auditor 审计 Helm Chart 的安全漏洞、最佳实践、模板正确性与生产就绪性。检查 Chart.yaml、values.yaml、templates、hooks、RBAC 及依赖管理。
用法 “Audit my Helm chart for issues” “Check Helm templates for security” “Review values.yaml for best practices” “Validate Helm chart before publishing”
工作原理
- Chart 发现
- 安全审计
- 模板质量
- 生产就绪
- Values 模式
输出
Helm Chart Audit
Chart: my-app v1.2.0 | Templates: 8🔴 Critical (2)
- Running as root — templates/deployment.yaml
- No resource limits — templates/deployment.yaml
🟡 Improvements (4)
- values.yaml 默认镜像标签为 latest
- 缺少 PodDisruptionBudget 模板
- 无 values.schema.json 用于校验
- 多副本部署缺少反亲和规则
✅ Good Practices
- 已配置健康探针(liveness + readiness)
- 通过 _helpers.tpl 应用标准标签
- 包含 HPA 模板且默认值合理
- Chart.yaml 具备正确的 appVersion 与描述