Creating a CI pipeline to build Helm charts
The concept of CI can be applied to the perspective of a chart developer who builds, tests, packages, and releases Helm charts to a chart repository. In this section, we will describe what using an end-to-end CI pipeline to streamline this process may look like, as well as walk you through how to build an example pipeline. The first step is to design the components required for the example pipeline.
Designing the pipeline
In the previous chapters, developing Helm charts was largely a manual process. While Helm provides automation for creating test
hooks in a Kubernetes cluster, the invocation of the helm lint
, helm test
, or ct lint-and-install
commands is manually executed after a change in code to ensure tests still pass. Once linting and testing continue to pass after a code change, the chart can be packaged by running the helm package
command. If the chart is served using a GitHub Pages repository (such as the one created in Chapter...