Open scoheb opened 5 years ago
Hello @scoheb. This error would result from the following conditions:
packageName
field doesn't exist.kind
is not set to ClusterServiceVersion
or CustomResourceDefintion
.The code that produced this log can be seen here.
We could update the message to report that one of the conditions above was not met.
@awgreene The above text would be good to output to the user. Even better would be your suggestion of We could update the message to report that one of the conditions above was not met.
request we say -which- file is not a valid yaml file if possible
also i assume you are using a custom config for linting? I get hard errors from yammlint like
23:81 error line too long (3902 > 80 characters) (line-length)
but obviously this is required due to the base64 encoded images in the yaml. So I think we need detailed yaml lint output reported so we know what issues actually are considered errrors by operator-courier.
(tmp-XVr6zr33) shebert@localhost/tmp/scott:$ operator-courier -v 1.2.0 (tmp-XVr6zr33) shebert@localhost/tmp/scott:$ operator-courier verify . ERROR:operatorcourier.identify:Courier requires valid CSV, CRD, and Package files Courier requires valid CSV, CRD, and Package files