{"id":18352102,"url":"https://github.com/abgeo/kubectl-action","last_synced_at":"2026-05-03T18:33:18.295Z","repository":{"id":125370559,"uuid":"554170958","full_name":"ABGEO/kubectl-action","owner":"ABGEO","description":"GitHub Action for interacting with kubectl","archived":false,"fork":false,"pushed_at":"2022-10-19T14:25:46.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T00:46:39.785Z","etag":null,"topics":["ci","cli","docker","github-actions","k8s","kubectl","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ABGEO.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":"2022-10-19T11:18:28.000Z","updated_at":"2022-10-19T17:55:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"49c18069-55f4-47bf-b0a3-12a4c28b45fb","html_url":"https://github.com/ABGEO/kubectl-action","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ABGEO/kubectl-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ABGEO%2Fkubectl-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ABGEO%2Fkubectl-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ABGEO%2Fkubectl-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ABGEO%2Fkubectl-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ABGEO","download_url":"https://codeload.github.com/ABGEO/kubectl-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ABGEO%2Fkubectl-action/sbom","scorecard":{"id":6603,"data":{"date":"2025-08-11","repo":{"name":"github.com/ABGEO/kubectl-action","commit":"51359af1306b57d7be5a8f479463d1476ecaca48"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/3 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.15 to alpine:3.15@sha256:19b4bcc4f60e99dd5ebdca0cbce22c503bbcff197549d7e19dab4f22254dc864","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-14T13:41:04.258Z","repository_id":125370559,"created_at":"2025-08-14T13:41:04.259Z","updated_at":"2025-08-14T13:41:04.259Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32579802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ci","cli","docker","github-actions","k8s","kubectl","shell"],"created_at":"2024-11-05T21:34:44.712Z","updated_at":"2026-05-03T18:33:18.280Z","avatar_url":"https://github.com/ABGEO.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kubectl\n\nGitHub Action for interacting with kubectl\n\n## Usage\n\n```yaml\n- uses: abgeo/kubectl-action@1.25.3\n  env:\n    KUBE_HOST: ${{ secrets.KUBE_HOST }}\n    KUBE_CERTIFICATE: ${{ secrets.KUBE_CERTIFICATE }}\n    KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}\n    KUBE_NAMESPACE: ${{ secrets.KUBE_NAMESPACE }}\n```\n\n## Environment variables\n\nTo work with this action you have to create service account with all the necessary RBAC permissions.\nAfter you create the account you should retrieve `ca.crt` and `token` from its secret. We will use those values later.\n\n| Variable         | Type   | Description                                  |\n|------------------|--------|----------------------------------------------|\n| KUBE_HOST        | string | Hostname of your cluster (without protocol!) |\n| KUBE_CERTIFICATE | string | base64-encrypted value of `ca.crt` secret    |\n| KUBE_TOKEN       | string | `token` secret                               |\n| KUBE_NAMESPACE   | string | k8s namespace of your service account        |\n\n## Example\n\n```yaml\nname: Get Pods\non: [ push ]\n\njobs:\n  pods:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - uses: abgeo/kubectl-action@1.25.3\n        env:\n          KUBE_HOST: ${{ secrets.KUBE_HOST }}\n          KUBE_CERTIFICATE: ${{ secrets.KUBE_CERTIFICATE }}\n          KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}\n          KUBE_NAMESPACE: ${{ secrets.KUBE_NAMESPACE }}\n        with:\n          arg: get pods\n```\n\n```yaml\nname: Deploy API\non: [ push ]\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Setup kubectl\n        uses: abgeo/kubectl-action@1.25.3\n        env:\n          KUBE_HOST: ${{ secrets.KUBE_HOST }}\n          KUBE_CERTIFICATE: ${{ secrets.KUBE_CERTIFICATE }}\n          KUBE_TOKEN: ${{ secrets.KUBE_TOKEN }}\n          KUBE_NAMESPACE: ${{ secrets.KUBE_NAMESPACE }}\n\n      - name: kubectl get deployments\n        uses: abgeo/kubectl-action@1.25.3\n        with:\n          arg: get deployments\n\n      - name: kubectl apply\n        uses: abgeo/kubectl-action@1.25.3\n        with:\n          arg: apply -f deployments.yaml\n```\n\n## Authors\n\n- [Temuri Takalandze](https://abgeo.dev) - *Maintainer*\n\n## License\n\nCopyright (c) 2022 [Temuri Takalandze](https://abgeo.dev).  \nReleased under the [GPL-3.0](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabgeo%2Fkubectl-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabgeo%2Fkubectl-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabgeo%2Fkubectl-action/lists"}