Interview Prep/Helm/Values, Schema & Type Errors

`Error: values don't meet the specifications of the schema(s) in the following chart(s): shop-postgres: - auth: password is required` but you did set `postgres.auth.password`.

AdvancedTroubleshootingValues, Schema & Type Errors
Answer

Likely causes → The subchart was aliased or renamed, so its values key differs (postgresql vs postgres), or the value was set under the wrong nesting level.

Diagnose →

yq '.dependencies' shop/Chart.yaml        # name and alias
helm install x ./shop --dry-run=client --debug -f values-dev.yaml | sed -n '/^COMPUTED VALUES:/,/^HOOKS:/p' | head -60

Fix → Put the values under the alias key (or name, if no alias).

Prevent → Document subchart keys in the parent's values.yaml with commented examples.

All Helm questions Roadmap: Helm

More on Values, Schema & Type Errors