This repository contains a Crossplane configuration, tailored for users establishing their initial control plane with Upbound. This configuration deploys fully managed GCP database instances.
The core components of a custom API in Crossplane include:
- CompositeResourceDefinition (XRD): Defines the API's structure.
- Composition(s): Implements the API by orchestrating a set of Crossplane managed resources.
In this specific configuration, the GCP database API contains:
- an GCP database custom resource type.
- Composition of the GCP database resources: Configured in /apis/composition.yaml, it provisions an GCP databaseand resources in the
upbound-system
namespace.
This repository contains an Composite Resource (XR) file.
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
name: configuration-gcp-database
spec:
package: xpkg.upbound.io/upbound/configuration-gcp-database:v0.1.0
This repository serves as a foundational step. To enhance your control plane, consider:
- create new API definitions in this same repo
- editing the existing API definition 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.