actions-marketplace-validations/Setup kubectl and plugins

Install a specific version of kubectl and plugins via krew

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Mar 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/marcofranssen_setup-kubectl@c647d12429ffe30bee90d02416547030a8680c59 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
kubectlVersionThe kubectl version you want to use (defaults to latest stable).nostable
enablePluginsInstall krew to manage kubectl plugins (defaults to false).nofalse
pluginsInstall the given plugins (comma or space separated).no""
namedescription
kubectl-versionThe kubectl version that was installed.
krew-versionThe krew version that was installed.
krew-pluginsThe list of installed plugins (json serialized object).