k8wiz
Helm
Hard
Troubleshooting

A template wraps .Values.database.host in required, and values.yaml leaves it empty. What does helm lint --strict report in Helm 4?

Select your answer:

Show answer and explanation

Answer: A log line only, and the chart still passes

Explanation

helm lint renders in lint mode, where required and fail return an empty string instead of stopping rendering, and Helm logs a missing required values warning. --strict only applies to lint's own warnings, so the chart passes. Render with helm template in CI, or add the key to values.schema.json, which lint does enforce.

Read more about Helm