Helm Roles

ensure-helm

Ensure Helm is installed

Role Variables

helm_version

Version of Helm to install

ensure-chart-testing

Ensure chart-testing is installed

Role Variables

chart_testing_version

Version of chart-testing to install.

ensure_chart_testing_repo_name_helm_chart
Default: https://github.com/helm/chart-testing/releases/download

The root location to get the chart testing helm chart.

ensure_chart_testing_repo_name_config
Default: https://raw.githubusercontent.com/helm/chart-testing

The root location to get the chart testing configuration files.

chart-testing

Run chart-testing (for helm charts)

Role Variables

zuul_work_dir
Default: {{ zuul.project.src_dir }}

The location of the main working directory of the job.

chart_testing_options
Default: --validate-maintainers=false --check-version-increment=false

Arguments passed to chart testing.

The defaults are suitable for a Zuul environment because validate-maintainers requires a valid git remote (which is not present in Zuul) and check-version-increment requires each commit to have a new version; Zuul users are expected to set the version when tagging/publishing a release.

helm-template

Run Helm by templating the chart, it assumes that a Kubernetes cluster is already setup and the Helm executable is installed.

Role Variables

helm_release_name

Helm release name (mandatory)

helm_chart

Directory of the Helm chart.

helm_wait_for_pods
Default: True

Determine if the role should wait for all pods to go up after it applies the template.

helm_values_file

File containing Helm values to use when templating.

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Directory in which to run helm.

helm-lint

Run Helm lint on a chart to verify correctness. It assumes that the Helm executable is installed.

Role Variables

helm_chart

Directory of the Helm chart.

zuul_work_dir
Default: {{ zuul.project.src_dir }}

Directory in which to run helm.