From c7f1c44b45993272c39c819f10d081a9c8f36296 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Thu, 29 Jun 2023 23:05:47 +0300 Subject: [PATCH] Use latest release of csi-addons We have a proper release now, so we can use it instead of following main and get more stable builds. Signed-off-by: Nir Soffer --- test/addons/csi-addons/kustomization.yaml | 4 ++++ test/addons/csi-addons/start | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/test/addons/csi-addons/kustomization.yaml b/test/addons/csi-addons/kustomization.yaml index 60d831e6b1..e4410ee815 100644 --- a/test/addons/csi-addons/kustomization.yaml +++ b/test/addons/csi-addons/kustomization.yaml @@ -6,3 +6,7 @@ resources: - ${base_url}/crds.yaml - ${base_url}/rbac.yaml - ${base_url}/setup-controller.yaml + +images: +- name: quay.io/csiaddons/k8s-controller + newTag: ${image_tag} diff --git a/test/addons/csi-addons/start b/test/addons/csi-addons/start index 0903c152e4..17cb8a8856 100755 --- a/test/addons/csi-addons/start +++ b/test/addons/csi-addons/start @@ -9,8 +9,7 @@ import sys import drenv from drenv import kubectl -# Using main till a release is available with lastSyncTime. -VERSION = "main" +VERSION = "v0.7.0" BASE_URL = f"https://raw.githubusercontent.com/csi-addons/kubernetes-csi-addons/{VERSION}/deploy/controller" @@ -19,6 +18,7 @@ def deploy(cluster): with drenv.kustomization( "kustomization.yaml", base_url=BASE_URL, + image_tag=VERSION, ) as kustomization: kubectl.apply("--kustomize", kustomization, context=cluster)