containerized-data-importer/cluster/kubectl.sh
Alexander Wels 0eef382081 Add kubevirt cluster environment with sync
- 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>
2018-08-03 09:54:44 -04:00

9 lines
127 B
Bash
Executable File

#!/bin/bash -e
function _kubectl() {
export KUBECONFIG=./cluster/.kubeconfig
./cluster/.kubectl "$@"
}
_kubectl "$@"