Reputation: 63
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 ([email protected])
I connected via gcloud login to the new user:
I created a new context on Kubernetes associated with that account and it's project
In addition, I changed all yaml files in my project to have the correct project id
But when I try to deploy via Skaffold, it still tries to connect to the old account.
Do you know how can I fix it?
Upvotes: 0
Views: 413
Reputation: 63
I managed to solve the issue by removing the old user with the command
gcloud auth revoke USERNAME
In addition I changed my gcloud default credentials via:
gcloud auth application-default login
Upvotes: 1