Helm
Medium
Charts
What file locks dependency versions for reproducible installs?
Select your answer:
Show answer and explanation
Answer: Chart.lock
Explanation
helm dependency update resolves the version ranges in Chart.yaml's dependencies and writes the exact versions and a digest to Chart.lock. helm dependency build then downloads exactly those versions, so every build gets the same dependencies. Commit Chart.lock with the chart.
More medium Helm questions
- Which flag to 'helm install' will wait until resources are ready before marking the release as deployed?
- Which flag to 'helm uninstall' keeps the release history but removes resources?
- What template object provides access to files inside the chart package (like files in the 'files/' dir)?
- Which function allows templates to fail with a custom error if a required value is missing?
- What is an OCI registry in the context of Helm?
- Which command logs you into an OCI registry for pushing/pulling charts?