Helm
Hard
Charts
Which Helm feature helps ensure chart values conform to a schema (like types and required fields)?
Select your answer:
Show answer and explanation
Answer: values.schema.json (values validation)
Explanation
A chart can ship values.schema.json, a JSON Schema that Helm checks the merged values against during install, upgrade, lint and template. Wrong types or missing required keys stop the command with an error naming the field.
More hard Helm questions
- Which Helm feature can help modify rendered manifests before they are applied to the cluster?
- Which command explains why a resource failed during a helm install by showing events/logs (combining kubectl)?
- Which field in a hook's annotations sets a timeout for hook execution?
- How do Helm 3 and Helm 4 apply changes to the cluster during an install or upgrade?
- Where does Helm 3 store release information by default?
- A chart has a pre-upgrade Job hook with no helm.sh/hook-delete-policy annotation. What happens to the Job left from the previous upgrade when the hook runs again?