Helm Chart Tests
April 23, 2025 ยท View on GitHub
This directory contains tests for the Helm charts in the deployment-operator project.
Running the Chart Installation Test
The test-chart-install.sh script verifies that the deployment-operator Helm chart can be successfully installed in a Kubernetes cluster.
Prerequisites
The script requires the following tools to be installed:
Usage
From the root of the repository, run:
./test/helm/test-chart-install.sh
The script will:
- Create a temporary Kind cluster with a unique name
- Validate the chart using
helm lint - Verify template rendering with
helm template - Perform a dry-run installation with
helm install --dry-run - Automatically clean up the cluster when the test completes
CI/CD Integration
This test is also integrated into GitHub Actions workflows to catch Helm chart issues in PRs and pushes to the main branch.
Test Chart Directories
deployment-operator/: Test chart for the deployment-operatoryet-another-cloudwatch-exporter/: Test chart for YACE integration