mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00

- Added ability to call make cluster-up to start a kubevirt cluster. - Added ability to call make cluster-down to stop a kubevirt cluster. - Added ability to call make cluster-sync to build CDI and sync it with the running cluster. This allows for testing during development. - Added cli.sh and kubectl.sh just like kubevirt, in the CDI project to manipulate a running cluster. - You can use k8s or OCP providers like kubevirt. Signed-off-by: Alexander Wels <awels@redhat.com>
9 lines
127 B
Bash
Executable File
9 lines
127 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
function _kubectl() {
|
|
export KUBECONFIG=./cluster/.kubeconfig
|
|
./cluster/.kubectl "$@"
|
|
}
|
|
|
|
_kubectl "$@"
|