This operator manages the kube-storage-version-migrator and deploys the migration controller which:
- Processes migration requests by getting all objects of the migrated type and writing them back the API server without modification. The purpose is to trigger the API server to encode the object in the latest storage version before storing it.
The trigger controller which performs storage migrations automatically is not deployed in OpenShift to keep migrations under control. It is up to operator owners to create migration requests.
The repository is compatible with the "OpenShift Tests Extension (OTE)" framework.
make build# Run a specific test suite or test
./cluster-kube-storage-version-migrator-operator-tests-ext run-suite openshift/cluster-kube-storage-version-migrator-operator/all
./cluster-kube-storage-version-migrator-operator-tests-ext run-test "test-name"
# Run with JUnit output
./cluster-kube-storage-version-migrator-operator-tests-ext run-suite openshift/cluster-kube-storage-version-migrator-operator/all --junit-path=/tmp/junit-results/junit.xml
./cluster-kube-storage-version-migrator-operator-tests-ext run-test "test-name" --junit-path=/tmp/junit-results/junit.xml# List all test suites
./cluster-kube-storage-version-migrator-operator-tests-ext list suites
# List tests in a suite
./cluster-kube-storage-version-migrator-operator-tests-ext list tests --suite=openshift/cluster-kube-storage-version-migrator-operator/all
#for concurrency
./cluster-kube-storage-version-migrator-operator-tests-ext run-suite openshift/cluster-kube-storage-version-migrator-operator/all -c 1