operator-framework / operator-courier

Build, verify and push operators
Apache License 2.0
41 stars 53 forks source link

CSV.Spec.Provider may not be singleton list #173

Open djzager opened 4 years ago

djzager commented 4 years ago

What I did

I specified a URL in the CSV.Spec.Provider like so:

  provider:
    name: KubeVirt project
    url: https://kubevirt.io

What happened

When I ran operator-courier verify --ui_validate_io I get the following error:

ERROR: csv.spec.provider should be a singleton list.

If I remove the url from the csv.spec.provider then this error goes away.

What I expected to happen

I did not expect an error as this should be valid as a Provider in OLM's CSV types is an AppLink which includes a URL.

SaaldjorMike commented 4 years ago

I hit this issue earlier today and turned out to be that provider was specified twice in the CSV file. After making sure I only had one provider it stopped failing.

J0zi commented 3 years ago

I have somehow similar issue despite single provider https://github.com/operator-framework/operator-courier/issues/200