Forum Navigation
You need to log in to create posts and topics.

Error: 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

 

Uploaded files: