<p>When deploying an application using Kubernetes I get the following exception:</p>

<p>Error: Upgrade failed: the server has asked for the client to provide credentials (get configmaps)</p>

<p>Can someone tell me about which credentials is rancher complaining, applications credentials or helm and tiller credentials?</p>

Bionix1441
<p>It looks like problem with Using <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/" rel="nofollow noreferrer">RBAC Authorization</a> or <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/#rolebinding-and-clusterrolebinding" rel="nofollow noreferrer">RoleBinding and ClusterRoleBinding</a> </p>

<p>Here you can find one of the <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/#role-examples" rel="nofollow noreferrer">examples</a>: </p>

<blockquote>
  <p>Allow reading a ConfigMap named “my-config” (must be bound with a RoleBinding to limit to a single ConfigMap in a single namespace):</p>
</blockquote>

<pre><code>rules:
- apiGroups: [""]
  resources: ["configmaps"]
  resourceNames: ["my-config"]
  verbs: ["get"]
</code></pre>

<p>Please follow similar <a href="https://forums.rancher.com/t/helm-error-error-the-server-has-asked-for-the-client-to-provide-credentials/13325" rel="nofollow noreferrer">issues</a> related to k8s authorization in rancher  and for <a href="https://rancher.com/docs/rancher/v2.x/en/installation/ha/helm-init/troubleshooting/?#" rel="nofollow noreferrer">helm</a>. </p>

<p>Hope this help.</p>
