<p>When running <code>operator-courier verify</code> against my Operator Bundle built using the Operator Framework's operator-sdk, I'm getting the following error.</p>

<pre><code>ERROR: custom resource definition REDACTED referenced in csv not defined in root list of crds.
</code></pre>

<p>I have it in spec.customresourcedefinitionns.owned which is why I assume it knows about it at all.</p>

<p>Where is the "root list" of crds I need to add this to?</p>

Josiah
<p>I faced the same issue. The reason for this issue was the incompatible CRD names in the custom resource definition YAML and the CSV file.</p>

<p>The <code>metadata.name</code> of the CRD YAML and the <code>spec.customresourcedefinitions.owned.name</code> of the CSV file should be the same.</p>

<p>If you need to know more information about how this validation works in <code>operator-courier</code>, please refer to <a href="https://github.com/operator-framework/operator-courier/blob/e8e35729ab759b765319b9d8ea56a6794471c2f7/operatorcourier/validate.py#L197" rel="nofollow noreferrer">this python implementation</a>.</p>
