What are the required fields in `Chart.yaml`?
BeginnerConceptChart Structure & Metadata
Answer
apiVersion, name and version. For Helm 3 charts apiVersion is v2; v1 charts (Helm 2 format, with requirements.yaml) still install but should be migrated.
apiVersion: v2
name: shop
version: 1.4.0 # chart SemVer, required
appVersion: "2.3.1" # app version, quoted string
type: application
description: Shack Shop 3-tier application
kubeVersion: ">=1.27.0-0"
helm lint fails with [ERROR] Chart.yaml: version is required if version is missing.
More on Chart Structure & Metadata
What files does `helm create mychart` generate and which ones matter?BeginnerWhat is the difference between `version` and `appVersion`?BeginnerWhy should `appVersion` be quoted in `Chart.yaml`?BeginnerWhat does `type: library` vs `type: application` mean?BeginnerWhat is the `kubeVersion` field used for?IntermediateWhat other optional fields can `Chart.yaml` contain?Beginner