This repository contains the definition for a Crossplane configuration that bundles a set of API definitions. This configuration is a starting point for new users who are creating their first control plane in Upbound.
When this configuration is installed on a control plane, the control plane will have APIs to provision fully configured Google Cloud Platform (GCP) CloudSQL instances, composed using cloud service primitives from the Upbound Official GCP Provider.
A custom API in Crossplane is defined by:
- a CompositeResourceDefinition (XRD). This defines the schema or shape of the API.
- A Composition(s). Compositions implement the schema by composing a set of Crossplane managed resources together.
For this configuration, the CloudSQL API is defined by:
- a PostgreSQLInstance type
- the PostgreSQLInstance is composed of a single DBInstance resource.
This repository also contains an example claim. You can apply this file on your control plane to invoke the CloudSQL API and cause a database to be created.
This repository is a starting point. You should be feel encouraged to:
- create new API definitions in this same repo
- tweak the existing API definition for CloudSQL to your needs
Upbound will automatically detect the commits you make in your repo and build the configuration package for you. To learn more about how to build APIs for your managed control planes in Upbound, read the guide on Upbound's docs.