Interview Prep/Helm/Chart Structure & Metadata

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.

All Helm questions Roadmap: Helm

More on Chart Structure & Metadata