{"id":17809578,"url":"https://github.com/marcofranssen/setup-kubectl","last_synced_at":"2025-03-17T17:30:47.067Z","repository":{"id":59701749,"uuid":"526153223","full_name":"marcofranssen/setup-kubectl","owner":"marcofranssen","description":"Github action to install kubectl and kubectl plugins","archived":false,"fork":false,"pushed_at":"2024-04-30T07:31:27.000Z","size":830,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-01T21:17:23.693Z","etag":null,"topics":["hacktoberfest","krew","krew-plugin","kubectl","kubectl-plugins","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcofranssen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["marcofranssen"]}},"created_at":"2022-08-18T09:55:11.000Z","updated_at":"2024-05-08T10:22:28.333Z","dependencies_parsed_at":"2023-12-19T10:42:25.894Z","dependency_job_id":"b7b9ad90-6b83-49de-a7a6-1eb0b7c62dd7","html_url":"https://github.com/marcofranssen/setup-kubectl","commit_stats":{"total_commits":72,"total_committers":2,"mean_commits":36.0,"dds":0.4444444444444444,"last_synced_commit":"2bd9d94db111b978eb1aa3c184bbe2cb146340ce"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcofranssen%2Fsetup-kubectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcofranssen%2Fsetup-kubectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcofranssen%2Fsetup-kubectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcofranssen%2Fsetup-kubectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcofranssen","download_url":"https://codeload.github.com/marcofranssen/setup-kubectl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221697399,"owners_count":16865621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","krew","krew-plugin","kubectl","kubectl-plugins","kubernetes"],"created_at":"2024-10-27T15:19:56.660Z","updated_at":"2024-10-27T15:19:57.645Z","avatar_url":"https://github.com/marcofranssen.png","language":"TypeScript","funding_links":["https://github.com/sponsors/marcofranssen"],"categories":[],"sub_categories":[],"readme":"# Setup kubectl\n\nThis Github action installs [kubectl][] and allows to optionally also install [krew][] to manage [kubectl plugins][krew-plugins]. You can also choose to pre-install a bunch of kubectl plugins by default.\n\n## Usage\n\n### Install stable\n\nInstalls the latest `stable` release.\n\n```yaml\nsteps:\n  - uses: marcofranssen/setup-kubectl@v0.3.0\n    id: kubectl\n  - run: echo ${{ steps.kubectl.output.kubectl-version }}\n```\n\n### Install latest\n\nInstalls the `latest` release.\n\n```yaml\nsteps:\n  - uses: marcofranssen/setup-kubectl@v0.3.0\n    id: kubectl\n    with:\n      kubectl-version: latest\n  - run: echo ${{ steps.kubectl.output.kubectl-version }}\n```\n\n### Install specific version\n\nInstalls the `v1.24.5` release.\n\n```yaml\nsteps:\n  - uses: marcofranssen/setup-kubectl@v0.3.0\n    id: kubectl\n    with:\n      kubectl-version: v1.24.5\n```\n\n### Install krew\n\nInstall `krew` allong with kubectl.\n\n```yaml\nsteps:\n  - uses: marcofranssen/setup-kubectl@v0.3.0\n    with:\n      enable-plugins: true\n  - run: echo ${{ steps.kubectl.output.krew-version }}\n  - run: kubectl krew install aws-auth\n```\n\n### Install plugins\n\nInstall `krew` allong with `kubectl` and some plugins.\n\n```yaml\nsteps:\n  - uses: marcofranssen/setup-kubectl@v0.3.0\n    with:\n      enable-plugins: true\n      plugins: aws-auth,grep\n  - run: echo ${{ steps.kubectl.output.krew-version }}\n  - run: echo ${{ fromJson(steps.kubectl.output.krew-plugins) }}\n  - run: kubectl aws-auth version\n```\n\n[kubectl]: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ \"The Kubernetes CLI\"\n[krew]: https://krew.sigs.k8s.io/ \"Krew is the plugin manager for kubectl command-line tool.\"\n[krew-plugins]: https://krew.sigs.k8s.io/plugins/ \"List of kubectl plugins distributed on the centralized krew-index.\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcofranssen%2Fsetup-kubectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcofranssen%2Fsetup-kubectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcofranssen%2Fsetup-kubectl/lists"}