<p>I've set up my k8s Cluster with an admin role and user role and I'm able to switch between roles using </p>

<blockquote>
  <p>kubectl config use-context admin-context</p>
</blockquote>

<p>or</p>

<blockquote>
  <p>kubectl config use-context user-context</p>
</blockquote>

<p>But I don't want the user role to be able to perform this command and switch between admin and user role. </p>

<p>So whats is the best solution? add token or username &amp; password possibly?</p>

daverocks
<p>Simply remove the admin context and the accompanied user from your <code>~/.kube/config</code> file.</p>
