operator-courier icon indicating copy to clipboard operation
operator-courier copied to clipboard

CSV.Spec.Provider may not be singleton list

Open djzager opened this issue 5 years ago • 2 comments

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.

djzager avatar Nov 01 '19 15:11 djzager

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.

SaaldjorMike avatar Apr 23 '20 21:04 SaaldjorMike

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

J0zi avatar Jan 05 '21 15:01 J0zi