{"id":19144178,"url":"https://github.com/crossplane/provider-template","last_synced_at":"2025-04-09T15:05:25.484Z","repository":{"id":39974742,"uuid":"280267191","full_name":"crossplane/provider-template","owner":"crossplane","description":"A template for building @crossplane providers.","archived":false,"fork":false,"pushed_at":"2025-04-08T12:56:00.000Z","size":363,"stargazers_count":149,"open_issues_count":26,"forks_count":82,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-09T15:05:21.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crossplane.io","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/crossplane.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2020-07-16T21:59:01.000Z","updated_at":"2025-04-06T19:09:01.000Z","dependencies_parsed_at":"2024-07-14T09:33:48.312Z","dependency_job_id":"84ae8a1c-5cdf-4c54-bd18-432a5ee332e9","html_url":"https://github.com/crossplane/provider-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossplane%2Fprovider-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossplane%2Fprovider-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossplane%2Fprovider-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crossplane%2Fprovider-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crossplane","download_url":"https://codeload.github.com/crossplane/provider-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"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-09T07:34:01.720Z","updated_at":"2025-04-09T15:05:25.466Z","avatar_url":"https://github.com/crossplane.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# provider-template\n\n`provider-template` is a minimal [Crossplane](https://crossplane.io/) Provider\nthat is meant to be used as a template for implementing new Providers. It comes\nwith the following features that are meant to be refactored:\n\n- A `ProviderConfig` type that only points to a credentials `Secret`.\n- A `MyType` resource type that serves as an example managed resource.\n- A managed resource controller that reconciles `MyType` objects and simply\n  prints their configuration in its `Observe` method.\n\n## Developing\n\n1. Use this repository as a template to create a new one.\n1. Run `make submodules` to initialize the \"build\" Make submodule we use for CI/CD.\n1. Rename the provider by running the following command:\n```shell\n  export provider_name=MyProvider # Camel case, e.g. GitHub\n  make provider.prepare provider=${provider_name}\n```\n4. Add your new type by running the following command:\n```shell\n  export group=sample # lower case e.g. core, cache, database, storage, etc.\n  export type=MyType # Camel casee.g. Bucket, Database, CacheCluster, etc.\n  make provider.addtype provider=${provider_name} group=${group} kind=${type}\n```\n5. Replace the *sample* group with your new group in apis/{provider}.go\n5. Replace the *mytype* type with your new type in internal/controller/{provider}.go\n5. Replace the default controller and ProviderConfig implementations with your own\n5. Run `make reviewable` to run code generation, linters, and tests.\n5. Run `make build` to build the provider.\n\nRefer to Crossplane's [CONTRIBUTING.md] file for more information on how the\nCrossplane community prefers to work. The [Provider Development][provider-dev]\nguide may also be of use.\n\n[CONTRIBUTING.md]: https://github.com/crossplane/crossplane/blob/master/CONTRIBUTING.md\n[provider-dev]: https://github.com/crossplane/crossplane/blob/master/contributing/guide-provider-development.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossplane%2Fprovider-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossplane%2Fprovider-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossplane%2Fprovider-template/lists"}