In this chapter, you learned about the different methods you can apply to test your Helm charts. The most basic way of testing a chart is to run the
helm template command against a local chart directory to determine whether its resources are properly generated. You can also use the
helm lint command to ensure that your chart follows the correct format and you can use the
yamllint command to lint the YAML style 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 chart tests, chart testing also provides capabilities that make it easier for chart developers to maintain Helm charts in a monorepo.
In the next chapter, you will learn how Helm can be used in a Continuous Integration/Continuous Delivery (CI/CD) and GitOps setting, from both the perspective of a chart developer that is building and testing Helm charts and from the perspective...