Framework to build a provider
To bring down the cognitive load required to develop a new provider, the Crossplane community has identified a couple of comparatively painless ways, as follows:
- Native provider development: We have a template provider available at https://github.com/crossplane/provider-template. We can use this repository as a basic template for creating a new provider. The template has
ProviderConfig
, which can read credentials from the Kubernetes Secrets to manage external provider authentication and authorization. It also has a sample MR along with a controller. We can add all our new MRs and respective controllers with appropriate control theory implementation, using the CRUD APIs of the external resources. The video at https://www.youtube.com/watch?v=dhuqH308Tc0 walks us through the provider development using provider template with a hands-on example. - Generate provider from Terraform providers: Generating a native provider might be time-consuming. The...