Write a Helm Chart Test
Learn how to write tests for a Helm chart.
We'll cover the following
While working on a Helm chart we would want to test if the new changes have broken anything and it is still working as it should be. We can do that manually by checking the application’s health with kubectl
or by entering a Kubernetes Dashboard page in the web browser.
For now, it’s an acceptable solution. However, it would be better to write automated tests to avoid doing all of it manually. We can encapsulate them in a testing script that can be executed after each installation.
Such functionality is provided by Helm. We don’t need to learn any testing framework and we can keep our tests as close as they can be to the source code.
Get hands-on with 1400+ tech skills courses.