A rough sketch of an approach to KUTTL testing of Podified operators.
In addition to what follows, see contents of kuttl-test.yaml for further details.
[SKIP_INIT=true] [TEST_TARGET=<test name>] ./run.sh.
Omitting a TEST_TARGET will cause all tests to be executed.
init.sh: clones operator repos to acquire CRDs and sample CR YAMLsrun.sh: executes the actual test or testskuttl-test.yaml: configuration file for KUTTL itselfcommon: contains elements that might be used across multiple tests, which include:manifests: resource YAMLsscripts: bash scriptstests/steps: KUTTL stepstests/assert: KUTTL assertions
tests: contains the individual tests in their own sub-directories. These will likely symbolically link to common elements incommonbut also contain unique KUTTL steps and assertions pertaining to each test.