-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
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
Labels
No labels