Open mlbiam opened 5 years ago
@mlbiam Are you saying that you are creating a catalogsource from a configmap, and you want the operator-courier to validate that? The operator courier's verify
command is intended as a way to verify that the operator will package correctly into an app-registry. It is not intended as a full end to end verification for all possible workflows to get an operator to install with OLM.
No, I'm saying that the rules for operator-courier verify
isn't consistent with the red hat connect certification test process. When I run operator-courier verify
on yaml files that start with a "---" it works fine but the red hat connect certification process generates a configmap for the catalog source instead of the quay.io application bundle. The steps in the red hat connect certification process say to verify using operator-courier verify
and when I ran into this issue I was told the right place to open a bug report is here.
No, I'm saying that the rules for
operator-courier verify
isn't consistent with the red hat connect certification test process. When I runoperator-courier verify
on yaml files that start with a "---" it works fine but the red hat connect certification process generates a configmap for the catalog source instead of the quay.io application bundle. The steps in the red hat connect certification process say to verify usingoperator-courier verify
and when I ran into this issue I was told the right place to open a bug report is here.
It seems like the issue is that the configmap process is broken then? Not sure what this project should do about that, or how we would resolve it. If the bundle we push to the app-registry works and is valid, I don't really see why the courier should attempt to fail validation.
@dmesser :point_up:
If a CRD file starts with a "---" its valid YAML but if the yaml is included in a ConfigMap CatalogSource and imported to OCP4 it the container will fail with the error message:
This leads a catalog source that works from a quay.io applicaiton bundle work with OCP4 but not with Red Hat's certification process.