<p>I'm trying to install a Kubernetes operator into an OpenShift cluster using OLM 0.12.0. I ran <code>oc create -f my-csv.yaml</code> to install it. It is created successfully, but I do not get any results.</p>

<p>In the olm operator logs I find this message:</p>

<pre><code>level=info msg="couldn't ensure RBAC in target namespaces" csv=my-operator.v0.0.5 error="no owned roles found" id=d1h5n namespace=playground phase=Pending
</code></pre>

<p>I also note that there is no InstallPlan created to make the accounts that I thought it was making. </p>

<p>What's wrong?</p>

<p>This message probably means that the RBAC assigned to your service account does not match the requirements specified by CSV (cluster service version).</p>

<p>In other words, while creating an operator you define CSV which defines the requirements for creating your custom resource. Then, when operator creates the resource it checks if the used service account fulfills these requirements.</p>

<p>You can check the <a href="https://github.com/hazelcast/hazelcast-operator" rel="nofollow noreferrer">Hazelcast Operator</a> we created. It has some requirements regarding RBAC. So, before installing it, you need to apply the following <a href="https://github.com/hazelcast/hazelcast-operator/blob/master/hazelcast-rbac.yaml" rel="nofollow noreferrer">RBAC file</a>.</p>
