{"id":30846236,"url":"https://github.com/kusionstack/terraform-provider-karpor","last_synced_at":"2025-09-07T00:06:10.075Z","repository":{"id":277151984,"uuid":"931493237","full_name":"KusionStack/terraform-provider-karpor","owner":"KusionStack","description":"The Provider enables Terraform to manage cluster registration for Karpor.","archived":false,"fork":false,"pushed_at":"2025-03-01T12:54:57.000Z","size":69,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-01T13:38:15.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"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/KusionStack.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-12T11:22:20.000Z","updated_at":"2025-03-01T12:55:01.000Z","dependencies_parsed_at":"2025-02-12T12:47:20.129Z","dependency_job_id":"4d3a7201-b8dc-48aa-bbfc-990279bbc8b7","html_url":"https://github.com/KusionStack/terraform-provider-karpor","commit_stats":null,"previous_names":["kusionstack/terraform-provider-karpor"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/KusionStack/terraform-provider-karpor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusionStack%2Fterraform-provider-karpor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusionStack%2Fterraform-provider-karpor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusionStack%2Fterraform-provider-karpor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusionStack%2Fterraform-provider-karpor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KusionStack","download_url":"https://codeload.github.com/KusionStack/terraform-provider-karpor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KusionStack%2Fterraform-provider-karpor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273978867,"owners_count":25201413,"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-09-06T02:00:13.247Z","response_time":2576,"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":"2025-09-07T00:06:03.721Z","updated_at":"2025-09-07T00:06:10.057Z","avatar_url":"https://github.com/KusionStack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![OSP](https://socialify.git.ci/KusionStack/terraform-provider-karpor/image?font=Raleway\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Plus\u0026theme=Light)\n\n# Terraform Provider for Karpor\n\nA Terraform provider for managing cluster registration in Karpor\n\n## Features\n\n- Cluster Registration Management (`karpor_cluster_registration`)\n\n## Installation\n\n### Local Build \u0026 Install\n```bash\nmake install  # Install to ~/.terraform.d/plugins\n```\n\n### Terraform Configuration\n```hcl\nterraform {\n  required_providers {\n    karpor = {\n      source = \"KusionStack/karpor\"\n      version = \"0.1.0\"\n    }\n  }\n}\n\nprovider \"karpor\" {\n  api_endpoint = \"https://api.karpor.example.com\"\n  api_key      = \"\u003cyour-api-key\u003e\"  # Recommend using environment variables\n}\n```\n\n## Usage Example\n```hcl\nresource \"karpor_cluster_registration\" \"production\" {\n  cluster_name    = \"production-cluster\"\n  credentials     = file(\"~/.kube/config\")\n  description     = \"Primary production cluster\"\n}\n```\n\n## Development Guide\n\n### Requirements\n- Go 1.21+\n- Terraform 1.5+\n\n### Common Commands\n```bash\nmake build    # Build provider\nmake test     # Run unit tests\nmake testacc  # Run acceptance tests (requires API credentials)\n```\n\n### Test Configuration\nSet environment variables before testing:\n```bash\nexport KARPOR_API_ENDPOINT=\"https://api.karpor.example.com\"\nexport KARPOR_API_KEY=\"your-api-key\"\n```\n\n## Contributing\n1. Create an issue describing the problem or feature request\n2. Develop on a feature branch (feature/xxx)\n3. Submit a PR with test cases\n4. Pass CI pipeline verification\n\n## License\nMozilla Public License 2.0, see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusionstack%2Fterraform-provider-karpor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkusionstack%2Fterraform-provider-karpor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkusionstack%2Fterraform-provider-karpor/lists"}