{"id":31715322,"url":"https://github.com/rm3l/helm-kubelinter","last_synced_at":"2026-04-12T22:34:15.647Z","repository":{"id":306512332,"uuid":"415700995","full_name":"rm3l/helm-kubelinter","owner":"rm3l","description":"Helm Plugin to validate Charts using KubeLinter","archived":false,"fork":false,"pushed_at":"2025-08-23T06:20:36.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-24T09:30:01.506Z","etag":null,"topics":["helm","helm-plugin","helm-plugins","kubernetes","linter"],"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/rm3l.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-10-10T21:08:56.000Z","updated_at":"2025-08-23T06:20:33.000Z","dependencies_parsed_at":"2025-07-26T06:02:59.510Z","dependency_job_id":"6c779d42-b662-43c9-9b65-96ccd6a96d3a","html_url":"https://github.com/rm3l/helm-kubelinter","commit_stats":null,"previous_names":["rm3l/helm-kubelinter"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rm3l/helm-kubelinter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm3l%2Fhelm-kubelinter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm3l%2Fhelm-kubelinter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm3l%2Fhelm-kubelinter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm3l%2Fhelm-kubelinter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rm3l","download_url":"https://codeload.github.com/rm3l/helm-kubelinter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm3l%2Fhelm-kubelinter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000696,"owners_count":26082894,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":["helm","helm-plugin","helm-plugins","kubernetes","linter"],"created_at":"2025-10-09T01:56:07.919Z","updated_at":"2025-10-09T01:56:09.588Z","avatar_url":"https://github.com/rm3l.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# helm-kubelinter\n\n[![Release](https://github.com/rm3l/helm-kubelinter/actions/workflows/release.yaml/badge.svg)](https://github.com/rm3l/helm-kubelinter/actions/workflows/release.yaml)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nA Helm plugin that validates your Helm charts using [KubeLinter](https://github.com/stackrox/kube-linter), a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure they follow best practices.\n\n## Features\n\n- 🔍 **Static Analysis**: Lint your Helm charts against Kubernetes best practices\n- 🚀 **Auto-Installation**: Automatically downloads and installs KubeLinter\n- 🔄 **Auto-Updates**: Update KubeLinter to the latest version\n- 🌐 **Cross-Platform**: Supports Linux and macOS (x86_64 and ARM64)\n- ⚡ **Flexible Arguments**: Pass arguments to both Helm and KubeLinter separately\n\n## Installation\n\n### Via Helm Plugin Manager\n\n```bash\nhelm plugin install https://github.com/rm3l/helm-kubelinter\n```\n\n### Manual Installation\n\n1. Clone this repository:\n```bash\ngit clone https://github.com/rm3l/helm-kubelinter.git \u0026\u0026 cd helm-kubelinter\n```\n\n2. Install the plugin:\n```bash\nhelm plugin install .\n```\n\n### Verify Installation\n\n```bash\nhelm kubelinter --help\n```\n\n## Usage\n\n### Basic Usage\n\n```bash\nhelm kubelinter \u003cchart\u003e [helm_args] -- [kubelinter_args]\n```\n\nThe plugin uses `--` as a separator:\n- Arguments **before** `--` are passed to `helm template`\n- Arguments **after** `--` are passed to `kube-linter`\n\n### Examples\n\n#### Basic Chart Validation\n\n```bash\n# Validate a local chart\nhelm kubelinter ./my-chart\n\n# Validate a chart with specific values\nhelm kubelinter ./my-chart --values production-values.yaml\n\n# Validate a chart from a repository\nhelm kubelinter my-chart --repo=https://my-helm-chart-repo.example.com\n```\n\n#### Advanced Usage with KubeLinter Options\n\n```bash\n# Use specific KubeLinter configuration\nhelm kubelinter ./my-chart -- --config /path/to/kubelinter-config.yaml\n\n# Run with verbose output\nhelm kubelinter ./my-chart -- --verbose\n\n# Check only specific checks\nhelm kubelinter ./my-chart -- --include run-as-non-root,no-read-only-root-fs\n\n# Exclude specific checks\nhelm kubelinter ./my-chart -- --exclude latest-tag\n```\n\n#### Combined Example\n\n```bash\n# Comprehensive validation with custom values and KubeLinter config\nhelm kubelinter ./my-chart \\\n  --values values.yaml \\\n  --values production-values.yaml \\\n  --namespace production \\\n  --name-template my-app \\\n  -- \\\n  --config .kubelinter.yaml \\\n  --verbose \\\n  --exclude latest-tag\n```\n\n## Configuration\n\n### Environment Variables\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `HELM_KUBELINTER_UPDATE` | Force update KubeLinter on next run | `false` |\n\n### KubeLinter Configuration\n\nYou can use a [KubeLinter configuration file](https://github.com/stackrox/kube-linter/blob/main/docs/configuring-kubelinter.md) to customize the checks:\n\n```yaml\n# .kubelinter.yaml\nchecks:\n  # Exclude checks that don't apply to your environment\n  exclude:\n    - \"latest-tag\"\n    - \"unset-cpu-requirements\"\n  \n  # Include only specific checks\n  include:\n    - \"run-as-non-root\"\n    - \"no-read-only-root-fs\"\n    - \"privilege-escalation\"\n\n# Custom check configurations\ncustomChecks:\n  - name: \"required-annotation-key\"\n    template: \"required-annotation\"\n    params:\n      key: \"example.com/key\"\n    remediation: Please set the annotation 'example.com/key'. This will be parsed by xy to generate some docs.\n```\n\nThen use it with:\n```bash\nhelm kubelinter ./my-chart -- --config .kubelinter.yaml\n```\n\n## Troubleshooting\n\n### Common Issues\n\n#### KubeLinter Not Found\n```bash\n# Force reinstall KubeLinter\nHELM_KUBELINTER_UPDATE=true helm kubelinter ./my-chart\n```\n\n#### Permission Denied\n```bash\n# Ensure the plugin directory has correct permissions\nchmod +x ~/.local/share/helm/plugins/helm-kubelinter/scripts/*.sh\n```\n\n#### Template Rendering Issues\n```bash\n# Debug Helm template rendering\nhelm kubelinter ./my-chart --debug\n```\n\n#### Network Issues During Installation\n```bash\n# Manual KubeLinter installation\nmkdir -p ~/.local/share/helm/plugins/helm-kubelinter/bin\ncurl -L https://github.com/stackrox/kube-linter/releases/download/v0.7.4/kube-linter-linux.tar.gz | \\\n  tar -xz -C ~/.local/share/helm/plugins/helm-kubelinter/bin\n```\n\n### Debug Mode\n\nFor verbose output, use:\n```bash\nhelm kubelinter ./my-chart --debug -- --verbose\n```\n\n### Check Plugin Status\n\n```bash\n# List installed plugins\nhelm plugin list\n\n# Check KubeLinter version\n~/.local/share/helm/plugins/helm-kubelinter/bin/kube-linter version\n```\n\n## Update\n\n### Update the Plugin\n\n```bash\nhelm plugin update kubelinter\n```\n\n### Update KubeLinter Binary\n\n```bash\n# Force update to latest KubeLinter version\nHELM_KUBELINTER_UPDATE=true helm kubelinter --help\n```\n\n## Contributing\n\nWe welcome contributions!\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm3l%2Fhelm-kubelinter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frm3l%2Fhelm-kubelinter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm3l%2Fhelm-kubelinter/lists"}