up xpkg build
The up xpkg build
command builds Open Container Initiative compliant images of a set of configuration files. Use this image to create a specific Crossplane control-plane or Provider.
For more information on the requirements to build an image read the Creating and Pushing Pacakges section.
-o, --output <path>
- The path and filename of the Crossplane package. The default name is from themetadata.name
value incrossplane.yaml
.--controller <path>
- The path to a controller image to use for aProvider
configuration image.-f, --package-root
- The path to the directory containing files to package into anxpkg
file. The default is the current directory.-e, --examples-root
- The path to a directory of examples on how to use this configuration image.
The up xpkg build
command supports two different image types:
Configuration
- Configuration images consist of Custom Resource Definitions, Compositions and package metadata which define a custom control-plane.Provider
- An image consisting of a provider controller and all related Custom Resource Definitions. The Crossplanecrossplane-contrib
repository contains the packages used for open source Crossplane Providers. For example, the image contents forprovider-aws
.
- Create a Configuration package.
- Create a Provider package.