title: User cannot get resource "services" in API group - Jenkins pipeline EKS deployment
body: <p>I'm trying to deploy my docker image into the cluster using Jenkins. my Jenkins application is running in an EC2 ubuntu server. Initially, when I tried I was getting this error.</p>
  <p><a href="https://i.stack.imgur.com/LHJjk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LHJjk.png" alt="enter image description here" /></a></p>
  <p>I referred to this <a href="https://stackoverflow.com/questions/50791303/kubectl-error-you-must-be-logged-in-to-the-server-unauthorized-when-accessing">stack</a>
  and added Jenkins users IAM arn to the Kube config file using</p>
  <pre><code>kubectl edit configmap aws-auth -n kube-system
  </code></pre>
  <p>After updating the config file when I run my pipeline, I get this new error
  <a href="https://i.stack.imgur.com/B7uaZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B7uaZ.png" alt="enter image description here" /></a></p>
  <p>My question is,</p>
  <ol>
  <li>This Jenkins User is an admin user, then why am I getting this access control error?</li>
  </ol>
  <p>Please help me with this?</p>