mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
scripts: Add env to set minikube iso url
Make iso url configurable to use pre-release minikube images or local-built (file://) Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
This commit is contained in:
parent
da76d8ddae
commit
f89076b1d7
@ -180,6 +180,7 @@ function disable_storage_addons() {
|
|||||||
# configure minikube
|
# configure minikube
|
||||||
MINIKUBE_ARCH=${MINIKUBE_ARCH:-"amd64"}
|
MINIKUBE_ARCH=${MINIKUBE_ARCH:-"amd64"}
|
||||||
MINIKUBE_VERSION=${MINIKUBE_VERSION:-"latest"}
|
MINIKUBE_VERSION=${MINIKUBE_VERSION:-"latest"}
|
||||||
|
MINIKUBE_ISO_URL=${MINIKUBE_ISO_URL:-""}
|
||||||
KUBE_VERSION=${KUBE_VERSION:-"latest"}
|
KUBE_VERSION=${KUBE_VERSION:-"latest"}
|
||||||
CONTAINER_CMD=${CONTAINER_CMD:-"docker"}
|
CONTAINER_CMD=${CONTAINER_CMD:-"docker"}
|
||||||
MEMORY=${MEMORY:-"4096"}
|
MEMORY=${MEMORY:-"4096"}
|
||||||
@ -206,6 +207,10 @@ else
|
|||||||
DISK_CONFIG=""
|
DISK_CONFIG=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "${MINIKUBE_ISO_URL}" ]]; then
|
||||||
|
EXTRA_CONFIG="${EXTRA_CONFIG} --iso-url ${MINIKUBE_ISO_URL}"
|
||||||
|
fi
|
||||||
|
|
||||||
# configure csi image version
|
# configure csi image version
|
||||||
CSI_IMAGE_VERSION=${CSI_IMAGE_VERSION:-"canary"}
|
CSI_IMAGE_VERSION=${CSI_IMAGE_VERSION:-"canary"}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user