Forum archive › Kubernetes & Helm Charts
ArchiveError: mapping values are not allowed in this context
Problem
User tries to run helm command to install chart and gets the following error
Error: YAML parse error on core-services/templates/mysql/ingress.yaml: error converting YAML to JSON: yaml: line 13: mapping values are not allowed in this context
Solution
Usually this type of errors occurs due to YAML indentation problems and variables that cannot be used in the place they were used
Example:

To this

Attachment: commands.txt
We do this for a living.
Kubernetes, DevOps and platform engineering, delivered in days — not another weekend lost to a stack trace.
Start a project →