helm/chart-testing sits at 1.6k stars on GitHub, written primarily in Go. CLI tool for linting and testing Helm charts
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
ct is the tool for testing Helm charts.
It is meant to be used for linting and testing pull requests.
It automatically detects charts changed against the target branch.
Installation
Prerequisites
It is recommended to use the provided Docker image which can be found on Quay.
It comes with all necessary tools installed.
Helm
Git (2.17.0 or later)
Yamllint
Yamale
Kubectl
Binary Distribution
Download the release distribution for your OS from the Releases page:
https://github.com/helm/chart-testing/releases
Unpack the ct binary, add it to your PATH, and you are good to go!
Docker Image
A Docker image is available at quay.io/helmpack/chart-testing with list of
available tags here.
Homebrew
$ brew install chart-testing
Usage
See documentation for individual commands:
ct
ct install
ct lint
ct lint-and-install
ct list-changed
ct version
For a more extensive how-to guide, please see:
charts-repo-actions-demo
Configuration
ct is a command-line application.
All command-line flags can also be set via environment variables or config file.
Environment variables must be prefixed with CT_.
Underscores must be used instead of hyphens.
CLI flags, environment variables, and a config file can be mixed.
The following order of precedence applies:
CLI flags
Environment variables
Config file
Note that linting requires config file for yamllint and yamale.
If not specified, these files are search in the current directory, the .ct directory in current directory, $HOME/.ct, and /etc/ct, in that order.
Samples are provided in the etc folder.
Examples
The following example show various way of configuring the same thing:
ct supports any format Viper can read, i. e. JSON, TOML, YAML, HCL, and Java properties files.
Notice that if no config file is specified, then ct.yaml (or any of the supported formats) is loaded from the current directory, $HOME/.ct, or /etc/ct, in that order, if found.
Using private chart repositories
When adding chart-repos you can specify additional arguments for the helm repo add command using helm-repo-extra-args on a per-repo basis.
You can also specify OCI registries which will be added using the helm registry login command, they also support the helm-repo-extra-args for authentication.
This could for example be used to authenticate a private chart repository.
$ ./build.sh -h
Usage: build.sh <options>
Build ct using Goreleaser.
-h, --help Display help
-d, --debug Display verbose output and run Goreleaser with --debug
-r, --release Create a release using Goreleaser. This includes the creation
of a GitHub release and building and pushing the Docker image.
If this flag is not specified, Goreleaser is run with --snapshot
Releasing
Prepare Release
Before a release is created, versions have to be updated in the examples.
A pull request needs to be created for this, which should be merged right before the release is cut.
Here's a previous one for reference: https://github.com/helm/chart-testing/pull/89
Create Release
The release workflow is dispatched from github actions
Versions must start with a lower-case v, e. g. v3.14.0.
Supported versions
The previous MAJOR version will be supported for three months after each new MAJOR release.
Within this support window, pull requests for the previous MAJOR version should be made against the previous release branch.
For example, if the current MAJOR version is v2, the pull request base branch should be release-v1.
Upgrading
When upgrading from < v2.0.0 you will also need to change the usage in your scripts.
This is because, while the v2.0.0 release has parity with v1, it was refactored from a bash library to Go so there are minor syntax differences.
Compare v1 usage with this (v2) version's README usage section above.
No homepage URL was recorded for helm/chart-testing in TopGit's last sync. The README tab above frequently contains screenshots and demo links, or check the repository description on GitHub.
How does helm/chart-testing compare to other Developer Tools projects?
helm/chart-testing is tracked by TopGit in the Developer Tools category, with 1.6k GitHub stars and written in Go. Browse the Developer Tools topic page on TopGit to compare it against similar projects by stars and activity.
How many stars does helm/chart-testing have?
helm/chart-testing has 1.6k GitHub stars — refresh the page for the live number, or check github.com/helm/chart-testing. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
Is helm/chart-testing open source?
Yes — helm/chart-testing ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/helm/chart-testing.
What else is in the Developer Tools space?
helm/chart-testing is tracked by TopGit under the Developer Tools category, alongside 6 GitHub-tagged topics. Trending and Topics pages list peer repositories of comparable stars and language.
What is helm/chart-testing?
helm/chart-testing (helm/chart-testing) is a Go project on GitHub. From the project's own README: CLI tool for linting and testing Helm charts
Where do I read more about helm/chart-testing?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/helm/chart-testing is the definitive source.
Read full README in the tab above.
Curious whether chart-testing is right for you?
Let ChatGPT, Claude, or Perplexity look into it — click below and see what AI actually says about chart-testing.