operator-framework / operator-courier

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

Issue while pushing the image #190

Open huzefa51 opened 4 years ago

huzefa51 commented 4 years ago

while pushing the image we are getting below error

ERROR: CSV.spec.crd.owned.version isnot in CRD.spec.versions list [manifests/myapp-operator.clusterserviceversion.yaml]

operator-courier --version

2.1.8

ryandawsonuk commented 4 years ago

I've also hit this with 2.1.8, whereas the same CSV works fine in 2.1.7

huzefa51 commented 4 years ago

But if I use 2.1.7 it complains about spec.version.

ERROR: crd spec.version not defined. [0.0.8/myapp.example.com_myapps_crd.yaml] WARNING: csv metadata.annotations.categories not defined [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] WARNING: csv metadata.annotations.description not defined [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] WARNING: csv metadata.annotations.containerImage not defined [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] WARNING: csv metadata.annotations.createdAt not defined [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] WARNING: csv metadata.annotations.support not defined [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] WARNING: csv metadata.annotations.certified not defined. [0.0.8/myapp-operator.v0.0.8.clusterserviceversion.yaml] Resulting bundle is invalid, input yaml is improperly defined.