Interview Prep/Helm/Hooks, Tests & Validation

What does `helm lint` check?

BeginnerConceptHooks, Tests & Validation
Answer

Chart structure and best practices: Chart.yaml required fields and SemVer, presence of values.yaml, templates that fail to render or produce invalid YAML, missing metadata.name, deprecated APIs for the target version, icon and other recommendations (as [INFO]/[WARNING]), and schema validation of values.

helm lint ./shop -f values-prod.yaml --strict      # warnings become failures
helm lint ./shop --with-subcharts

It does not validate fields against Kubernetes schemas; pair it with kubeconform.

All Helm questions Roadmap: Helm

More on Hooks, Tests & Validation