From 2f24c7f47dd1ee26b5e2309483513c2eb703a648 Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Mon, 16 Aug 2021 10:34:48 +0530 Subject: [PATCH] ci: use csi sidecar image versions from build.env if available This commit makes changes necessary to use csi sidecar image versions from build.env if available. PR https://github.com/ceph/ceph-csi/pull/2217 adds these variables to `build.env`. Signed-off-by: Rakshith R --- single-node-k8s.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/single-node-k8s.sh b/single-node-k8s.sh index 7a856061e..42d2d30d0 100755 --- a/single-node-k8s.sh +++ b/single-node-k8s.sh @@ -74,6 +74,12 @@ function set_env() { # use podman for minikube.sh, Docker is not installed on the host export CONTAINER_CMD='podman' + export CSI_ATTACHER_VERSION=${CSI_ATTACHER_VERSION:-"v3.2.1"} + export CSI_SNAPSHOTTER_VERSION=${CSI_SNAPSHOTTER_VERSION:-"v4.1.1"} + export CSI_PROVISIONER_VERSION=${CSI_PROVISIONER_VERSION:-"v2.2.2"} + export CSI_RESIZER_VERSION=${CSI_RESIZER_VERSION:-"v1.2.0"} + export CSI_NODE_DRIVER_REGISTRAR_VERSION=${CSI_NODE_DRIVER_REGISTRAR_VERSION:-"v2.2.0"} + # script/minikube.sh installs under /usr/local/bin export PATH=$PATH:/usr/local/bin }