{"id":28555535,"url":"https://github.com/rancher/kubectl","last_synced_at":"2025-07-05T13:30:55.577Z","repository":{"id":37539717,"uuid":"233917789","full_name":"rancher/kubectl","owner":"rancher","description":"kubectl from scratch","archived":false,"fork":false,"pushed_at":"2025-06-19T04:41:00.000Z","size":235,"stargazers_count":13,"open_issues_count":2,"forks_count":15,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-06-19T05:34:32.493Z","etag":null,"topics":["containers","dockerfile","kubectl","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rancher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-01-14T19:21:34.000Z","updated_at":"2025-05-28T12:31:25.000Z","dependencies_parsed_at":"2023-12-20T21:26:43.091Z","dependency_job_id":"35ded0d7-926d-42a1-ae19-fe54ac54adad","html_url":"https://github.com/rancher/kubectl","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/rancher/kubectl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fkubectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fkubectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fkubectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fkubectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rancher","download_url":"https://codeload.github.com/rancher/kubectl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rancher%2Fkubectl/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263749809,"owners_count":23505453,"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":["containers","dockerfile","kubectl","kubernetes"],"created_at":"2025-06-10T06:06:59.340Z","updated_at":"2025-07-05T13:30:55.563Z","avatar_url":"https://github.com/rancher.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl\n\nAnd. That. Is. It.\n\n## Adding new versions\n\n1. `Add new versions` workflow will create a PR,\n2. A `CODEOWNER` will need to review and approve the PR,\n3. Upon review, the `Validate PR` workflow will run to meet merge requirements,\n4. The PR can be merged after all checks pass,\n5. Once merged, the `Publish Images` workflow will run:\n    - Validates versions file,\n    - Prebuild information collection,\n    - Image's built with docker `buildx` action,\n    - CPU arch specific tags published\n\n### Merging PRs \u0026 Image Releases\nBefore a PR can be merged it must be:\n- Reviewed and Approved by at least 1 user assigned in `CODEOWNERS`, \n- passing the `Check kubectl release versions` action.\n\n## Digging Deeper\n\nThe source for the versions to create the images is in `versions.txt`.\nThis file is maintained by the scheduled [`add-new-veresions.yml`](./.github/workflows/check-new-versions.yml) workflow which automatically looks up new versions and creates a pull request.\nAdditionally, you can manually add entries to it or manually run the [GitHub Actions workflow](./.github/workflows/check-new-versions.yml) to create an automatic PR on-demand.\n\nScripts live in the `./scripts` directory:\n\n- `add-new-versions.sh`: Checks GitHub releases for `kubernetes/kubernetes` with a version regex, checks if the image already exists, and if not, adds it to `versions.txt`.\n- `check-versions.sh`: Checks if the binaries exists for all architectures for versions in `versions.txt`.\n- `new-versions.sh`: Compares versions in `versions.txt` to filter out new versions into `new-versions.txt` temp file. (Based on existing image versions defined by `$EXISTING_VERSIONS` env variable.)\n\n## License\n\nCopyright © 2020 - 2023 SUSE LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Fkubectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Francher%2Fkubectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Francher%2Fkubectl/lists"}