<p>I had a project that I deployed to GCP via Skaffold. Now I had to change the GCP user, so I created a project in GCP of the new account (the...@gmail.com)</p>
<p>I connected via gcloud login to the new user:
<a href="https://i.stack.imgur.com/7TXOt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7TXOt.png" alt="enter image description here" /></a></p>
<p>I created a new context on Kubernetes associated with that account and it's project
<a href="https://i.stack.imgur.com/8PBpE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8PBpE.png" alt="enter image description here" /></a></p>
<p>In addition, I changed all yaml files in my project to have the correct project id</p>
<p>But when I try to deploy via Skaffold, it still tries to connect to the old account.
<a href="https://i.stack.imgur.com/3CyZM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3CyZM.png" alt="enter image description here" /></a></p>
<p>Do you know how can I fix it?</p>

Itay Barber
<p>I managed to solve the issue by removing the old user with the command</p>
<pre><code>gcloud auth revoke USERNAME
</code></pre>
<p>In addition I changed my gcloud default credentials via:</p>
<pre><code>gcloud auth application-default login
</code></pre>
