Skip to content

csv.spec.provider in package.yaml #200

@J0zi

Description

@J0zi

Hi team,

we are stuck on operator-framework/community-operators#2921, because operator-courier 2.1.11 complains about package.yaml containing csv.spec.provider which is not the case.
ERROR: csv.spec.provider should be a singleton list. [resource-locker-operator/package.yaml]

Despite package.yaml looks like this:

packageName: resource-locker-operator
channels:
- name: alpha
  currentCSV: resource-locker-operator.v1.0.0
defaultChannel: alpha

Steps to reproduce

 git clone https://github.com/J0zi/community-operators.git
 cd community-operators 
 git checkout courier-issue
 operator-courier verify resource-locker-operator --ui_validate_io --validation-output /tmp/operator-test/linting-results.json 

output:

ERROR: csv.spec.provider should be a singleton list. [resource-locker-operator/package.yaml]
ERROR: UI validation failed to verify that required fields for operatorhub.io are properly formatted. [resource-locker-operator/package.yaml]
Resulting bundle is invalid, input yaml is improperly defined.

expected output:

{"warnings": [], "errors": []}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions