This repository contains an Upbound Configuration for Microsoft Azure Storage Containers that can be used to backup Upbound Spaces.
The core components of this Upbound Configuration include:
- CompositeResourceDefinition (XRD): Defines the
XStorageContainer
API structure - Composition: Configures the Functions Pipeline for storage container provisioning
- Embedded Function: Composition logic in
functions/compose-container/main.k
In this configuration, the API contains:
- a custom
XStorageContainer
resource type, Defined inapis/xstoragecontainers/definition.yaml
- Composition: Configured in
apis/xstoragecontainers/composition.yaml
- Embedded Function: Composition logic in
functions/compose-container/main.k
The configuration creates Azure Storage Containers with configurable parameters including region, resource group, and provider configuration.
- Execute
up project run
- Alternatively, install from the Upbound Marketplace
- Check
examples/
for example Composite Resources
The configuration can be tested using:
up composition render
to render the compositionup test run tests/*
to run composition testsup test run tests/* --e2e
to run end-to-end tests./e2e.sh
to run the end-to-end test suite
This repository serves as a foundational step. To enhance your configuration, consider:
- Create new API definitions in this repo
- Edit existing API definition to your needs
To learn more about building APIs for managed control planes in Upbound, read the Upbound documentation.