Migration from KUTTL¶
Overview¶
The chainsaw kuttl migrate tests
and chainsaw kuttl migrate config
commands are designed for the migration of KUTTL tests to Chainsaw.
-
migrates a KUTTL
TestSuite
to the corresponding ChainsawConfiguration
-
migrates KUTTL tests to the corresponding Chainsaw
Test
s
Reference documentation
You can view the full command documentation here.
Examples¶
Migrate tests¶
The command below will migrate KUTTL tests to Chainsaw and overwrite original files with converted ones.
chainsaw kuttl migrate tests path/to/kuttl/tests --save --cleanup
This will generate a chainsaw-test.yaml
for every KUTTL test discovered.
Migrate configuration¶
The command below will migrate a KUTTL test suite file to the corresponding Chainsaw Configuration
.
chainsaw kuttl migrate config path/to/kuttl/testsuite --save --cleanup
This will generate a .chainsaw.yaml
configuration file.