jthegedus / asdf-gcloud

☁️ GCloud CLI (Google Cloud SDK) plugin for asdf version manager. Pin gcloud versions for each project!
https://asdf-vm.com
MIT License
55 stars 22 forks source link

Using a plugin results in "unbound variable" #64

Closed nklmilojevic closed 2 years ago

nklmilojevic commented 2 years ago

I have installed gke-gcloud-auth-plugin required for all new Kubernetes clusters from v1.25 and I get this error:

/Users/nkl/.asdf/lib/commands/command-exec.bash: line 23: shim_args[@]: unbound variable
Unable to connect to the server: getting credentials: exec: executable gke-gcloud-auth-plugin failed with exit code 1

It works with gcloud installed via brew.

jthegedus commented 2 years ago

closed by #63