What problem does it solve?
This Skill eliminates the friction of writing, maintaining, and running reliable Helm chart tests for the Astronomer Private Cloud (APC) repository, removing guesswork around pytest patterns, value nesting rules, and Kubernetes schema validation.
Core Features & Use Cases
- Standardized pytest patterns: Provides reusable templates for writing chart tests using the repository's render_chart() utility, eliminating reliance on the unsupported helm unittest plugin.
- Sub-chart value guidance: Prevents common override errors with clear rules for nesting values under the correct sub-chart keys for both top-level and nested sub-charts.
- Cross-cutting test guardrails: Includes patterns for writing invariant tests that validate requirements across all rendered cluster objects, preventing admission controller rejections from missing security or probe configurations.
- Use case: When adding a new component to the APC Helm chart, use this Skill to write parametrized tests that validate rendering across all supported Kubernetes versions and ensure all containers meet mandatory security context requirements.
Quick Start
Use the chart-tests skill to write a parametrized pytest that validates your new Helm chart component renders correctly across all supported Kubernetes versions and meets all required security and probe constraints.