yamlhelmcharthelm-unittest

yamlhelmcharthelm-unittest asserts the generated Kubernetes objects after a Helm chart is rendered locally, checking them before broken templates enter the cluster.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "yamlhelmcharthelm-unittest" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8863ecc720d231f8b56b05a64a282cc823015921dbe9c2643b59eb0fd155ab76. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/unit-test-helm-charts-with-yaml-assertions-before-deployment-templates-reach-clusters-with-helm-unittest before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

yamlhelmcharthelm-unittest asserts the generated Kubernetes objects after a Helm chart is rendered locally, checking them before broken templates enter the cluster.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Helm, the helm-unittest plugin or container image, a Helm chart repository, and chart test files written in YAML.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在部署模板到达集群之前,使用YAML断言对Helm chart进行单元测试,使用helm-unittest工具"
slug: "unit-test-helm-charts-with-yaml-assertions-before-deployment-templates-reach-clusters-with-helm-unittest"
version: "1.0.0"
displayName: "在部署模板到达集群之前,使用YAML断言对Helm chart进行单元测试,使用helm-unittest"
summary: "在 Helm chart 渲染到本地后,断言生成的 Kubernetes 对象,以确保损坏的模板不会被部署到集群中。"
license: "MIT"
description: "在 Helm chart 渲染到本地后,断言生成的 Kubernetes 对象,在损坏的模板进入集群之前进行检查。"
github_stars: 1305
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "CI/CD Integrations"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1305

在部署模板到达集群之前,使用YAML断言对Helm chart进行单元测试,使用helm-unittest

Render a Helm chart locally and assert on the generated Kubernetes objects before a broken template makes it to a cluster.

Prerequisites

Helm, the helm-unittest plugin or container image, a Helm chart repository, and chart test files written in YAML.

Installation

Use the upstream install or setup path that matches your environment:

  • docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest
  • docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0
  • docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 .
  • docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 -o test-output.xml -t junit .

Requirements and caveats from upstream:

  • Docker Usage
  • <sup>*</sup> for Helm 4, installation using webhooks GPG verification is not supported, so --verify=false is required when installing from git repository. </br>
  • Docker Usage

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value72/100

Highlights

  • 提供 Helm chart 单元测试能力,有效防止损坏模板进入集群,具备明确工程价值
Trigger Precision65/100

Areas to improve

  • description写错位置 Reported severity: Minor

    触发描述仅存在于 skill_body 内部,未在 frontmatter 的 description 字段提供关键词

    Recommendation: 在 frontmatter 的 description 字段补充触发词,如 'helm unittest, test helm chart, validate kubernetes manifests'

Structure and Standards58/100

Areas to improve

  • 缺少端到端示例 Reported severity: Minor

    Installation 部分命令重复且未归类,缺少完整测试流程示例

    Recommendation: 补充一个完整的端到端示例,包括测试文件结构、运行命令和预期输出

  • 结构不清晰 Reported severity: Minor

    未划分 Phase/步骤,无门控条件说明

    Recommendation: 按 Phase 划分步骤(如 Setup、Write Tests、Run Tests、Handle Results),并明确各阶段出口条件

Execution Reliability68/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未说明测试失败、网络问题、权限问题等常见异常的处理方式

    Recommendation: 补充异常处理说明,如测试失败时的退出码、日志输出位置、重试机制等

Highlights

  • 工具来源明确,参数示例基本正确
Evidence Verifiability (mean of the first four)66/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Helm, the helm-unittest plugin or container image, a Helm chart repository, and chart test files written in YAML.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.