This section of the document gives you an example of how to integrate the flux workflow
into the e2e-framework while writing your tests.
FluxInstalled on your system where the tests are being run for details visit flux official website.
For the time being the framework supports following functionality:
- Flux installation and uninstallation.
- Handling Kustomization objects.
- Handling GitRepository objects.
- It creates a kind cluster with
fluxprefix. - Creates a namespace with
fluxprefix. - Installs all flux resources.
- Creates a reference to the git repository, where a simple hello world application deployment is specified. You can find it here.
- Starts reconciliation by a flux kustomization manifest to path
templateof the git repository. - Assesses if the deployment of simple hello world app is up and running.
- After the test passes it removes all resources.
go test -c -o flux.test . && ./flux.test --v 4