<p><a href="https://i.stack.imgur.com/szaBC.png" rel="nofollow noreferrer">enter image description here</a></p>
<p><code>Operation failed. Check pod logs for install-runner for more details.</code></p>
<p>I am getting this error while trying to install GitLab runner.
What I have done so far</p>
<ul>
<li>successfully installed Kubernetes cluster</li>
<li>created a demo project in Gitlab</li>
<li>provided details to GitLab for Kubernetes cluster</li>
</ul>
<p><strong>Then while trying to installing runner it shows failure.</strong>
What am I missing here? [please check the attached image]</p>

<p>I had was facing the same issue, In my case it was because i had not set <code>RBAC-enabled cluster</code> to true. I deleted the intergration and checked <code>RBAC-enabled cluster</code> when i re-integrated and it worked.</p>
<p>Runner logs:</p>
<pre><code>kubectl logs install-runner -n  gitlab-managed-apps

Error: query: failed to query with labels: secrets is forbidden: User &quot;system:serviceaccount:gitlab-managed-apps:default&quot; cannot list resource &quot;secrets&quot; in API group &quot;&quot; in the namespace &quot;gitlab-managed-apps&quot;
</code></pre>
<p>Reference:</p>
<p><a href="https://gitlab.com/gitlab-org/cluster-integration/cluster-applications/-/issues/34" rel="nofollow noreferrer">gitlab issue</a></p>
