Interview Prep/Helm/Values, Schema & Type Errors

`--set podAnnotations.prometheus.io/scrape=true` creates nested keys instead of one annotation.

IntermediateTroubleshootingValues, Schema & Type Errors
Answer

Likely causes → Dots in keys are path separators in --set.

Diagnose → helm get values shop -o yaml shows prometheus: {io/scrape: "true"}.

Fix → Escape the dots: --set-string 'podAnnotations.prometheus\.io/scrape=true', or use a values file.

Prevent → Annotations and labels belong in values files.

All Helm questions Roadmap: Helm

More on Values, Schema & Type Errors