Operator-Metadata-Linting Failed

Issue

A partner has submitted the metadata but failing the linting test. This test checks that the metadata files are properly formatted and validated.

Environment

  • Operator Config section for Operator Project in Red Hat Partner Connect web site

Resolution

Method 1: Validate the files

There might be some issues with format of the files, most of the time with the CSV. You can use https://onlineyamoltools.com/validate-yaml and paste your files to validate the formatting. We recommend verifying all the files in the metadata bundle.

Method 2: Use Operator-Courier to lint files

If the files are properly formatted, there might be an issue with the operator artifacts. We can use operator-courier to see if there are any issues. To install operator-courier, follow instructions: here.

Once installed, you should run the operator courier tool to verify all of the correct information is included.

operator-courier verify --ui_validate_io bundle/

If you receive no output, there are no issues with the files. If you receive ERROR(s) messages you can make the necessary changes to the files and resubmit to the scan.

Method 3: More Information

If the workaround in Method 1 or 2 is not an acceptable solution, a partner needs to open a support ticket and provide the following information:

  • The Project URL

  • Bundle Archive

Last updated