Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csv.spec.provider in package.yaml #200

Open
J0zi opened this issue Jan 5, 2021 · 0 comments
Open

csv.spec.provider in package.yaml #200

J0zi opened this issue Jan 5, 2021 · 0 comments

Comments

@J0zi
Copy link

J0zi commented Jan 5, 2021

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": []}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant