https://pulumi.com logo
#general
Title
# general
e

early-intern-90238

07/01/2022, 5:26 PM
Does anyone know how to get rid of the warning message with GCP for GKE that's saying the gcp auth plugin is deprecated?
Happens when I run pulumi up
i

important-leather-28796

07/01/2022, 5:28 PM
Yeah, I had to put this in both
.zshrc
and
.bashrc
export USE_GKE_GCLOUD_AUTH_PLUGIN=True
then source it. I use zsh and for some reason it seems it was only picked up in the
.bashrc
e

early-intern-90238

07/01/2022, 5:30 PM
I did that, didn't seem to have an effect.
let me add it to bashrc, I also use zsh
w

wonderful-portugal-96162

07/01/2022, 5:32 PM
I just ran into this. You need to update some pkgs
gcloud components update
e

early-intern-90238

07/01/2022, 5:32 PM
I did that as well
w

wonderful-portugal-96162

07/01/2022, 5:34 PM
I went through this doc and it fixed me right up https://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke (Running on Linux desktop FWIW)
e

early-intern-90238

07/01/2022, 5:34 PM
let me try restarting or something
Yes I followed that doc which is why I am a bit perplexed
😢 1
b

billowy-army-68599

07/01/2022, 6:50 PM
@early-intern-90238 are you building a KubeConfig that you're passing to something?
👀 1
w

wonderful-portugal-96162

07/01/2022, 7:42 PM
I'd do something like
Copy code
$ touch ~/gke.kubeconfig
$ export KUBECONFIG=~/gke.kubeconfig
$ gcloud container clusters get-credentials mygkecluster
i

important-leather-28796

07/01/2022, 7:54 PM
Ah yes, perhaps it is the
get-credentials
call that is the follow on to adding to
.zshrc
and
.bashrc
that I forgot.
e

early-intern-90238

07/01/2022, 11:03 PM
I resolved this by changing the config I was passing in since I am on GKE
👀 1
195 Views