Interview Prep/Helm/Values, Schema & Type Errors

`Error: values don't meet the specifications of the schema(s) in the following chart(s): shop: - global: Additional property global is not allowed`

AdvancedTroubleshootingValues, Schema & Type Errors
Answer

Likely causes → Root-level additionalProperties: false in the parent schema without listing global (and subchart keys). Helm always injects global, so this fails even when the user did not set it.

Diagnose → jq '.additionalProperties, (.properties | keys)' shop/values.schema.json.

Fix → Add "global": {"type": "object"} and each subchart key to properties, or drop additionalProperties: false at the root.

Prevent → Apply strictness to nested objects rather than the root.

All Helm questions Roadmap: Helm

More on Values, Schema & Type Errors