up xpkg build
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 the
--controller <path>- The path to a controller image to use for a
-f, --package-root- The path to the directory containing files to package into an
xpkgfile. The default is the current directory.
-e, --examples-root- The path to a directory of examples on how to use this configuration image.
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 Crossplane
crossplane-contribrepository contains the packages used for open source Crossplane Providers. For example, the image contents for
- Create a Configuration package.
- Create a Provider package.