0

This is the error text:

Error: YAMLException: bad indentation of a mapping entry at line 20, column 23:

Here is a screenshot:

Bad indenting of mapping entry

Where the error happens is in a deployment.yml manifest file. This file is referenced in a containerworkflow.yml file.

There is an SO solution to verify spaces, not whitespace exist for the indenting. Prior to 'image:' there are 10 spaces. After the ':' there is one space.

Got creative and erased everything from the image name back to the left margin. Retyped using 10 spacebar spaces, then type image: and one spacebar space.

Still got the error. No edit I make at column 23 of line 20 changes where the error is flagged, which is interesting. It's always at column 23 of line 20, no matter what.

This is a course exercise, so it's not mission critical. Also posted this in Pluralsight. Instructor is swamped, though, updating current courses and getting a new course recorded and posted.

Any ideas as to where else to look?

user1585204
  • 827
  • 1
  • 10
  • 14

0 Answers0