From dcdee86c4485a45e882f872ea10d37ddda9d3a68 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Sun, 2 Jun 2019 15:19:24 +0530 Subject: [PATCH] Update minikube to 1.14 and also update container images to latest Signed-off-by: Humble Chirammal --- .travis.yml | 2 +- scripts/minikube.sh | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1cfe0bc0e..74bb7e523 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,7 @@ env: - GO_METALINTER_THREADS=1 - GO_COVER_DIR=_output - VM_DRIVER=none - - KUBE_VERSION=v1.14.1 + - KUBE_VERSION=v1.14.2 - MINIKUBE_VERSION=v1.1.0 - CHANGE_MINIKUBE_NONE_USER=true diff --git a/scripts/minikube.sh b/scripts/minikube.sh index b1f4f44b7..ab06dac2f 100755 --- a/scripts/minikube.sh +++ b/scripts/minikube.sh @@ -53,7 +53,7 @@ function install_kubectl() { # configure minikube MINIKUBE_VERSION=${MINIKUBE_VERSION:-"latest"} -KUBE_VERSION=${KUBE_VERSION:-"v1.13.0"} +KUBE_VERSION=${KUBE_VERSION:-"v1.14.2"} MEMORY=${MEMORY:-"3000"} VM_DRIVER=${VM_DRIVER:-"virtualbox"} #configure image repo @@ -66,7 +66,7 @@ K8S_FEATURE_GATES=${K8S_FEATURE_GATES:-"BlockVolume=true,CSIBlockVolume=true,Vol case "${1:-}" in up) install_minikube - #if driver is none install kubectl with KUBE_VERSION + #if driver is 'none' install kubectl with KUBE_VERSION if [[ "${VM_DRIVER}" == "none" ]]; then mkdir -p "$HOME"/.kube "$HOME"/.minikube install_kubectl @@ -104,10 +104,10 @@ cephcsi) ;; k8s-sidecar) echo "copying the kubernetes sidecar images" - copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-attacher:v1.0.1 "${K8S_IMAGE_REPO}"/csi-attacher:v1.0.1 - copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-snapshotter:v1.0.1 $"${K8S_IMAGE_REPO}"/csi-snapshotter:v1.0.1 - copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-provisioner:v1.0.1 "${K8S_IMAGE_REPO}"/csi-provisioner:v1.0.1 - copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-node-driver-registrar:v1.0.2 "${K8S_IMAGE_REPO}"/csi-node-driver-registrar:v1.0.2 + copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-attacher:v1.1.1 "${K8S_IMAGE_REPO}"/csi-attacher:v1.1.1 + copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-snapshotter:v1.1.0 $"${K8S_IMAGE_REPO}"/csi-snapshotter:v1.1.0 + copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-provisioner:v1.2.0 "${K8S_IMAGE_REPO}"/csi-provisioner:v1.2.0 + copy_image_to_cluster "${K8S_IMAGE_REPO}"/csi-node-driver-registrar:v1.1.0 "${K8S_IMAGE_REPO}"/csi-node-driver-registrar:v1.1.0 ;; clean) minikube delete