Lint a Chart

Learn how to validate Helm chart correctness with Helm linter.

We'll cover the following

The helm lint command

Many people consider writing tests to be the first thing to do to ensure the quality of a Helm chart. The next step would be to scan it using static code analysis tools to verify that there are no errors, security vulnerabilities, and that we’ve met all the best practices.

If we’re using VS Code, IntelliJ IDEA, or any other popular IDE that supports Helm charts, they will probably catch all the syntax errors in our YAML. But if we don’t have it at the moment, or just don’t like it, we can use the helm lint command.

Here is how the command looks:

Get hands-on with 1200+ tech skills courses.