Skip to content
This repository was archived by the owner on May 26, 2026. It is now read-only.
This repository was archived by the owner on May 26, 2026. It is now read-only.

csv.spec.provider in package.yaml #200

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": []}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions