Error: mapping values are not allowed in this context
Quote from moshe on 13/04/2023, 12:03 pmProblem
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
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: