An open API service indexing awesome lists of open source software.

https://github.com/upbound/composition-testing

Composition and E2E testing Examples
https://github.com/upbound/composition-testing

Last synced: about 1 year ago
JSON representation

Composition and E2E testing Examples

Awesome Lists containing this project

README

          

# composition-testing

This repository contains examples for testing Crossplane Compositions.

## Using the Crossplane CLI

Note that since Crossplane 1.17 (late August 2024), `crossplane beta render` graduated to `crossplane render`.

The following examples use the Crossplane [CLI](https://docs.crossplane.io/latest/cli/):

- [crossplane-cli](crossplane-cli)
- [render](crossplane-cli/render/) using `crossplane render` to generate and validate Compositions.
- [basic](crossplane-cli/render/basic/) basic rendering
- [observed_resources](crossplane-cli/render/observed_resources/) simulating existing resources
- [extra_resources](crossplane-cli/render/extra_resources/) including Extra Resources
- [validate](crossplane-cli/validate) using `crossplane beta validate` to validate Compositions.

## References

- [Testing and Release Patterns for Crossplane](https://kccncossaidevchn2024.sched.com/event/1eYZ7) Kubecon China 2024