Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcloud component install waiting for user input #65

Open
prakash-fb opened this issue Jan 19, 2023 · 3 comments
Open

gcloud component install waiting for user input #65

prakash-fb opened this issue Jan 19, 2023 · 3 comments

Comments

@prakash-fb
Copy link

Orb version

3.0.1

What happened

When installing the gcloud component it expects the user to input.

Expected behavior

orbs should install the component without any issues.

image

Any change updating kubectl in cimg:gcp image? It use 1.25 version.

@villesau
Copy link

Same here.

@villesau
Copy link

Got worked this around. What components is, it essentially just passes what ever it receives to gcloud command, so following fixes the issue:

      - gcp-cli/setup:
          components: 'gke-gcloud-auth-plugin kubectl --quiet'

I'm having a bit difficult time to understand why this kind of abstraction is even needed. Why not installing and using gcloud directly? The orb seems to just add an extra layer of complexity and extra layer of extra issues.

@leozhantw
Copy link

Same here.

I'm curious about why don't we just add the --quiet here? 🤔

e.g.

gcloud --quiet components install "$@"

Is there some reason we can't do it there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants