Helm Chart Chart.yaml: Difference between revisions
Line 50: | Line 50: | ||
- name: # The name of the dependency | - name: # The name of the dependency | ||
version: # The version of the dependency | version: # The version of the dependency | ||
repository:# Repository URL | repository: # Repository URL | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 19:06, 14 December 2019
External
Internal
Overview
Revised for Helm 3
The chart's main metadata file. It is required to be present. Some of the required and optional elements are presented below, unknown elements will be silently ignored.
Example
apiVersion: v1 name: archaeopteryx version: 0.1.0 appVersion: "1.0" description: archaeopteryx Helm chart
Elements
All fields below are available in templates as built-in objects, with their first letter capitalized and prefixed by ".Chart."
Example:
{{ .Chart.Name }}
For more details see:
apiVersion
Required element; the chart API version. The apiVersion field should be "v2" for charts that require at least Helm 3. Charts supporting previous Helm versions have an apiVersion set to v1 and are still installable by Helm 3.
name
Required element. Represents the name of the chart.
version
Required element. Represents the SemVer 2 chart version number. Non-SemVer names are explicitly disallowed by the system. For more details, see Chart Versioning.
appVersion
Optional element. Represents the application version: the version of the application packaged in this chart. It does not need to be SemVer 2. For more details, see Chart Versioning.
dependencies
Optional element. This element was introduced in Helm 3 and replaces the requirements.yaml file. Contains a list of chart dependencies. Each dependency must include:
dependencies:
- name: # The name of the dependency
version: # The version of the dependency
repository: # Repository URL
kubeVersion
Optional element. A SemVer range of compatible Kubernetes versions.
description
Optional element; the single-sentence description of this project.
type
Optional element. Cart type.
keywords
home
sources
maintainers
engine
icon
deprecated
TODO: https://helm.sh/docs/developing_charts/#deprecating-charts.