{"id":21558645,"url":"https://github.com/ghostzero/kubectl","last_synced_at":"2026-01-03T20:42:42.936Z","repository":{"id":82068412,"uuid":"356150005","full_name":"ghostzero/kubectl","owner":"ghostzero","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-10T17:05:27.000Z","size":11,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-15T15:26:00.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/ghostzero.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-09T05:42:51.000Z","updated_at":"2024-01-17T16:34:16.000Z","dependencies_parsed_at":"2023-03-12T14:43:07.896Z","dependency_job_id":null,"html_url":"https://github.com/ghostzero/kubectl","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostzero%2Fkubectl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostzero%2Fkubectl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostzero%2Fkubectl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ghostzero%2Fkubectl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ghostzero","download_url":"https://codeload.github.com/ghostzero/kubectl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153327,"owners_count":20406995,"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":[],"created_at":"2024-11-24T08:15:27.790Z","updated_at":"2026-01-03T20:42:42.896Z","avatar_url":"https://github.com/ghostzero.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Action for Kubernetes CLI\n\nThis action provides `kubectl` for Github Actions.\n\n## Usage\n\n`.github/workflows/push.yml`\n\n```yaml\non: push\nname: deploy\njobs:\n  deploy:\n    name: deploy to cluster\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n    - name: deploy to cluster\n      uses: ghostzero/kubectl@v1\n      env:\n        KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}\n      with:\n        args: set image --record deployment/my-app container=${{ github.repository }}:${{ github.sha }}\n    - name: verify deployment\n      uses: ghostzero/kubectl@v1\n      env:\n        KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}\n        KUBECTL_VERSION: \"1.15\"\n      with:\n        args: '\"rollout status deployment/my-app\"'\n```\n\n## Secrets\n\n`KUBE_CONFIG_DATA` – **required**: A base64-encoded kubeconfig file with credentials for Kubernetes to access the cluster. You can get it by running the following command:\n\n```bash\ncat $HOME/.kube/config | base64\n```\n\n## Environment\n\n`KUBECTL_VERSION` - (optional): Used to specify the kubectl version. If not specified, this defaults to kubectl 1.13\n\n**Note**: Do not use kubectl config view as this will hide the certificate-authority-data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostzero%2Fkubectl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fghostzero%2Fkubectl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fghostzero%2Fkubectl/lists"}