Summary
In this chapter, you learned about different methods you can apply to test your Helm charts. The most basic way to test a chart is to run the helm template
command against a local chart directory and determine whether its resources were generated. You can also use the helm lint
command to ensure that your chart follows the correct formatting for Helm resources, and you can use the yamllint
command to lint the YAML style that’s used in your chart.
Apart from local templating and linting, you can also perform live tests on a Kubernetes environment with the helm test
command and the ct tool. In addition to performing basic chart testing capabilities, ct also provides features that make it easier to maintain Helm charts in a monorepo.
In the next chapter, you will learn how Helm can be used within a continuous delivery (CD) and GitOps setting.