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.
More medium Helm questions
- What is the recommended way to store sensitive data for templates instead of hard-coding in values?
- Which flag to 'helm install' creates the namespace if it doesn't already exist?
- What is the purpose of 'helm repo index'?
- Which command will push a chart to an OCI registry?
- What command checks for available plugin commands and manages Helm plugins?
- What is the effect of the --atomic flag when used with helm install or upgrade?