cpma
Control Plane Migration Assistance: Intended to help migration cluster configuration of a OCP 3.x cluster to OCP 4.x
Build
$ make
$ ./bin/cpma
Usage
Flags:
--config string config file (default is $HOME/.cpma.yaml)
--debug show debug ouput
-h, --help help for cpma
-o, --output-dir string set the directory to store extracted configuration.
You can find example config in examples/
Example:
$ ./bin/cpma --config /path/to/config/.yml --debug
Unit tests
In order to add new unit test bundle create *_test.go
file in package you want to test(ex: foo.go
, foo_test.go
).
To execute tests run make test
.
https://golang.org/pkg/testing/