Code Monkey home page Code Monkey logo

Comments (5)

jtama avatar jtama commented on June 9, 2024 2

Actually this IS a bug as it prevents using gke-gcloud-auth-plugin... which forces me to rollback

from asdf-gcloud.

sodabrew avatar sodabrew commented on June 9, 2024 1

This error prevents using gke-gcloud-auth-plugin. I removed the u from the line set -euo pipefail in .asdf/plugins/gcloud/lib/utils.bash in order to update my asdf gcloud plugin to the latest release and connect to my GKE cluster.

What would a proper fix look like that both handles no arguments and errors out on other unset variables, e.g. to catch typos during dev work?

from asdf-gcloud.

onnimonni avatar onnimonni commented on June 9, 2024

Same thing also happens with kubectl installed through gcloud

$ kubectl
/opt/homebrew/opt/asdf/libexec/lib/commands/command-exec.bash: line 23: shim_args[@]: unbound variable

from asdf-gcloud.

cathex-matt avatar cathex-matt commented on June 9, 2024

I think the above behavior is explained here https://github.com/jthegedus/asdf-gcloud#faq

from asdf-gcloud.

jtama avatar jtama commented on June 9, 2024

Actually sourcing the plugins as printed at install time did solve the issuer for me :

source /Users//.asdf/installs/gcloud/431.0.0/completion.zsh.inc
source /Users//.asdf/installs/gcloud/431.0.0/path.zsh.inc

Must have misses configured before.

from asdf-gcloud.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.