operator-courier
operator-courier copied to clipboard
CSV.Spec.Provider may not be singleton list
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.
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.
I have somehow similar issue despite single provider https://github.com/operator-framework/operator-courier/issues/200