Does anyone know how to get rid of the warning mes...
# general
e
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
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
I did that, didn't seem to have an effect.
let me add it to bashrc, I also use zsh
w
I just ran into this. You need to update some pkgs
gcloud components update
e
I did that as well
w
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
let me try restarting or something
Yes I followed that doc which is why I am a bit perplexed
😢 1
b
@early-intern-90238 are you building a KubeConfig that you're passing to something?
👀 1
w
I'd do something like
Copy code
$ touch ~/gke.kubeconfig
$ export KUBECONFIG=~/gke.kubeconfig
$ gcloud container clusters get-credentials mygkecluster
i
Ah yes, perhaps it is the
get-credentials
call that is the follow on to adding to
.zshrc
and
.bashrc
that I forgot.
e
I resolved this by changing the config I was passing in since I am on GKE
👀 1
220 Views