{"id":19359813,"url":"https://github.com/codacy/helm-poll","last_synced_at":"2026-06-15T08:31:35.488Z","repository":{"id":56616318,"uuid":"237246092","full_name":"codacy/helm-poll","owner":"codacy","description":"An Helm plugin to poll for a release status.","archived":false,"fork":false,"pushed_at":"2026-05-06T09:24:58.000Z","size":1521,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-06-04T13:04:58.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/codacy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-30T15:44:40.000Z","updated_at":"2026-05-06T09:25:03.000Z","dependencies_parsed_at":"2022-08-15T22:00:50.851Z","dependency_job_id":null,"html_url":"https://github.com/codacy/helm-poll","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/codacy/helm-poll","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fhelm-poll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fhelm-poll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fhelm-poll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fhelm-poll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codacy","download_url":"https://codeload.github.com/codacy/helm-poll/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codacy%2Fhelm-poll/sbom","scorecard":{"id":295406,"data":{"date":"2025-08-11","repo":{"name":"github.com/codacy/helm-poll","commit":"bc0dda24a764673c43febf41735baea62812c5e1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.4,"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":"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":"Code-Review","score":10,"reason":"all changesets reviewed","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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment_issue.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/comment_issue.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment_issue.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/comment_issue.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/comment_issue.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/comment_issue.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/comment_issue.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/comment_issue.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/comment_issue.yml:85: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/comment_issue.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create_issue.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create_issue.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_issue.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_issue.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create_issue_on_label.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue_on_label.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create_issue_on_label.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue_on_label.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_issue_on_label.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue_on_label.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create_issue_on_label.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/codacy/helm-poll/create_issue_on_label.yml/master?enable=pin","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   6 third-party GitHubAction 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"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/comment_issue.yml:1","Warn: no topLevel permission defined: .github/workflows/create_issue.yml:1","Warn: no topLevel permission defined: .github/workflows/create_issue_on_label.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 1.1.2 not signed: https://api.github.com/repos/codacy/helm-poll/releases/33177177","Warn: release artifact 1.1.1 not signed: https://api.github.com/repos/codacy/helm-poll/releases/29456738","Warn: release artifact 1.1.0 not signed: https://api.github.com/repos/codacy/helm-poll/releases/29358251","Warn: release artifact 1.0.0 not signed: https://api.github.com/repos/codacy/helm-poll/releases/26468784","Warn: release artifact 0.4.0 not signed: https://api.github.com/repos/codacy/helm-poll/releases/26460889","Warn: release artifact 1.1.2 does not have provenance: https://api.github.com/repos/codacy/helm-poll/releases/33177177","Warn: release artifact 1.1.1 does not have provenance: https://api.github.com/repos/codacy/helm-poll/releases/29456738","Warn: release artifact 1.1.0 does not have provenance: https://api.github.com/repos/codacy/helm-poll/releases/29358251","Warn: release artifact 1.0.0 does not have provenance: https://api.github.com/repos/codacy/helm-poll/releases/26468784","Warn: release artifact 0.4.0 does not have provenance: https://api.github.com/repos/codacy/helm-poll/releases/26460889"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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"}}]},"last_synced_at":"2025-08-17T19:22:23.644Z","repository_id":56616318,"created_at":"2025-08-17T19:22:23.644Z","updated_at":"2025-08-17T19:22:23.644Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34355157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-10T07:16:15.531Z","updated_at":"2026-06-15T08:31:35.469Z","avatar_url":"https://github.com/codacy.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helm-poll\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/f7afd18c84b64493bc31a5db5bc53513)](https://app.codacy.com/gh/codacy/helm-poll?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=codacy/helm-poll\u0026utm_campaign=Badge_Grade_Dashboard)\n[![CircleCI](https://circleci.com/gh/codacy/helm-poll/tree/master.svg?style=svg)](https://circleci.com/gh/codacy/helm-poll/tree/master)\n\nA Helm plugin to poll for a release status.\n\n## Project Goals\n\nAs per the [Helm documentation](https://helm.sh/docs/helm/helm_status/), a release can have the following final states:\n\n```go\n\"unknown\", \"deployed\", \"deleted\", \"superseded\", \"failed\"\n```\n\nA final state means that the release does not have any ongoing operations, such as an upgrade.\n\nTherefore, to avoid concurrent installation problems, we have created this plugin that polls for the state of a given release until Helm returns one of the final states mentioned above.\n\nThis means that once the release reaches one of these states, there is no ongoing installation and we are free to proceed.\n\n## Getting Started\n\nThe following command will install this plugin with your local copy of Helm.\n\nChoose the latest version from the releases and install the appropriate version for your OS:\n\n### Linux\n\n```sh\nhelm plugin install https://github.com/codacy/helm-poll/releases/download/latest/helm-poll-linux.tgz\n```\n\n### MacOS\n\n```sh\nhelm plugin install https://github.com/codacy/helm-poll/releases/download/latest/helm-poll-macos.tgz\n```\n\n### Windows\n\n```sh\nhelm plugin install https://github.com/codacy/helm-poll/releases/download/latest/helm-poll-windows.tgz\n```\n\n### Prerequisites\n\n* [Helm](https://helm.sh/)\n* [GoLang](https://golang.org/)\n\nPlease note that this plugin will poll the state of the releases in the cluster that is in your current kubeconfig context. Make sure you are pointing to the desired cluster before running the plugin.\n\n### Build and run\n\nTo build the plugin binary, all you really need to do is:\n\n```bash\ngo build .\n```\n\nYou can then run the produced binary with\n\n```bash\n$ ./poll\n\nUsage: poll [--help] [-i value] [-r value] [-t value] [parameters ...]\n     --debug  Run with debug messages on\n     --help  Help\n -i, --interval=value\n             The polling interval in seconds (default: 5)\n  -n, --namespace=value\n             Namespace where the release is installed. (default: \"default\")\n -r, --release=value\n             Release name to poll for.\n -t, --timeout=value\n             The timeout in seconds (default: 300)\n```\n\nUpon success, the plugin will return the JSON output corresponding to the release:\n\n```bash\nhelm poll -r codacy-nightly -n codacy\n```\n\n```json\n{\n  \"Name\": \"codacy-nightly\",\n  \"Revision\": 47,\n  \"Updated\": \"Thu Jan 30 13:41:56 2020\",\n  \"Status\": \"deployed\",\n  \"Chart\": \"codacy-0.5.0-NIGHTLY.30-01-2020\",\n  \"AppVersion\": \"0.5.0-NIGHTLY.30-01-2020\",\n  \"Namespace\": \"codacy-nightly\"\n}\n```\n\nPolling for a release that does not exist will return an empty release:\n\n```json\n{\n  \"Name\": \"\",\n  \"Revision\": 0,\n  \"Updated\": \"\",\n  \"Status\": \"\",\n  \"Chart\": \"\",\n  \"AppVersion\": \"\",\n  \"Namespace\": \"\"\n}\n```\n\nBecause the output is JSON, you can pipe it through `jq` for fancier operations.\n\n## Running the tests\n\n```bash\ngo test ./... -v\n```\n\n## Design\n\n### Defaults\n\n| Parameter     | Description                       | Default   | Required  |\n| ------------- | -------------------------------   | --------  | --------- |\n| `--release`   | Name of the release to monitor    | `nil`     | True      |\n| `--namespace` | Namespace where the release lives | `default` | False     |\n| `--timeout`   | Polling timeout in seconds        | `300`     | False     |\n| `--interval`  | Polling interval in seconds       | `5`       | False     |\n| `--debug`     | Enable debug messages             | `false`   | False     |\n\n## What is Codacy\n\n[Codacy](https://www.codacy.com/) is an Automated Code Review Tool that monitors your technical debt, helps you improve your code quality, teaches best practices to your developers, and helps you save time in Code Reviews.\n\n### Among Codacy's features\n\n- Identify new Static Analysis issues\n- Commit and Pull Request Analysis with GitHub, BitBucket/Stash, GitLab (and also direct git repositories)\n- Auto-comments on Commits and Pull Requests\n- Integrations with Slack, HipChat, Jira, YouTrack\n- Track issues in Code Style, Security, Error Proneness, Performance, Unused Code and other categories\n\nCodacy also helps keep track of Code Coverage, Code Duplication, and Code Complexity.\n\nCodacy supports PHP, Python, Ruby, Java, JavaScript, and Scala, among others.\n\nCodacy is free for Open Source projects.\n\n## License\n\nhelm-poll is available under the MIT license. See the [LICENSE](./LICENSE) file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fhelm-poll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodacy%2Fhelm-poll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodacy%2Fhelm-poll/lists"}