A template for writing a Configuration.
To use this template:
- Replace the name, metadata in crossplane.yaml to reflect your Configuration.
- Add dependencies in crossplane.yaml.
- Update the sample CompositeResourceDefinition and Composition in the
apis/
directory to reflect the API you're designing for your platform, and optionally add more if needed. - Add/Update examples in the
examples/
directory. - Update this file,
README.md
, to be about your Configuration!
To build a Configuration package, use the Crossplane CLI:
# Just builds the package. It will go through the repo and collect yaml files.
# Furthermore it will by default check for examples in `./examples` and add them to the package.
crossplane xpkg build
# You can specify various options for the build command, if needed
crossplane xpkg build --package-root=. --package-file=test-package.xpkg --examples-root=./examples
(Optionally) Login to the default xpkg.upbound.io registry:
crossplane xpkg login
Push the package to a registry:
crossplane xpkg push -f test-package.xpkg your-org/your-repo:v1.0.0
More info on the Crossplane CLI can be found here.
Check out the Crossplane docs for more information on creating Configurations.