k8wiz
Helm
Medium
Charts

Which field in Chart.yaml specifies the chart API version (e.g., v1) and affects Chart.lock format?

Select your answer:

Show answer and explanation

Answer: apiVersion

Explanation

apiVersion v2 is for charts that need Helm 3 or later; they declare dependencies inside Chart.yaml and lock them in Chart.lock. v1 charts, from Helm 2, used a separate requirements.yaml and requirements.lock.

Read more about Helm