Understanding chart definitions
The Chart.yaml
file, also known as the chart definition, is a resource that declares different metadata about a Helm chart. This file is required and if it is not included in a chart's file structure, you'll receive the following error:
Error: validation: chart.metadata is required
In Chapter 3, Installing Your First Helm Chart, we explored the chart definition of Bitnami's WordPress chart by running the helm show chart
command. Recall this chart definition by running this command again. We will assume that the Bitnami chart repository has already been added since this task was performed in Chapter 3, Installing Your First Helm Chart:
$ helm show chart bitnami/wordpress --version 8.1.0
Below lists the chart definition of the wordpress chart.
The chart definition, or the Chart.yaml
file, can contain many different fields. Some of the fields...