<p>I have a kubernetes user(below is the kubeconfig). </p>

<pre><code>users:
- name: alok.singh@practo.com
  user:
    auth-provider:
      config:
        client-id: XXX
        client-secret: XXX
        id-token: XXX
        refresh-token: 
</code></pre>

<p>When making GET request to the kubernetes API, I am getting the below error.</p>

<p>GET request - <a href="https://sourcegraph.com/github.com/vapor-ware/ksync/-/blob/pkg/ksync/doctor/kubernetes.go#L78" rel="nofollow noreferrer">https://sourcegraph.com/github.com/vapor-ware/ksync/-/blob/pkg/ksync/doctor/kubernetes.go#L78</a></p>

<pre><code>err= forbidden: User "alok.singh@practo.com" cannot get path "/"
</code></pre>

<p>What is the exact role i need to create to give access to the path "/"</p>

Alok Kumar Singh
<p>Only a cluster admin can access "/"</p>

<p>Here is the role for it.</p>

<pre><code>apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: cluster-admin
rules:
- apiGroups:
  - '*'
  resources:
  - '*'
  verbs:
  - '*'
- nonResourceURLs:
  - '*'
  verbs:
  - '*
</code></pre>
