google-github-actions / setup-gcloud

A GitHub Action for installing and configuring the gcloud CLI.

Home Page:https://cloud.google.com/sdk/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kubectl Plugin - google-github-actions/auth

rking-bennie opened this issue · comments

TL;DR

When needing to install kubectl plugin for every build it takes a large amount of time for the github action. Can there be a version created with this plugin already installed to save time on builds?

Detailed design

No response

Additional information

image
image

Duplicate of #610.

A version of gcloud is pre-installed on all the GitHub Actions runners. If you just need kubectl and don't care about the specific Cloud SDK version, you can introduce a step like:

run: |-
  gcloud components install kubectl --quiet