From e16b09815043f098c1deb67c68c42192b0c77340 Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 9 Nov 2024 03:12:35 +0000 Subject: [PATCH] feat: upgrade to azcopy v10.27.0 for volume clone and snapshot restore --- .trivyignore | 4 +--- pkg/azurefileplugin/Dockerfile | 2 +- test/sanity/run-test.sh | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.trivyignore b/.trivyignore index 9b5540db14..de6dfc5a2e 100644 --- a/.trivyignore +++ b/.trivyignore @@ -1,3 +1 @@ -CVE-2024-34156 -CVE-2024-34158 -CVE-2024-34155 +CVE-2024-51744 diff --git a/pkg/azurefileplugin/Dockerfile b/pkg/azurefileplugin/Dockerfile index ad1bd718a6..5a1df22a8f 100644 --- a/pkg/azurefileplugin/Dockerfile +++ b/pkg/azurefileplugin/Dockerfile @@ -22,7 +22,7 @@ ARG ARCH RUN apt update \ && apt install -y curl \ - && curl -Ls https://azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_${ARCH}_10.26.0.tar.gz \ + && curl -Ls https://azcopyvnext.azureedge.net/releases/release-10.27.0-20241030/azcopy_linux_${ARCH}_10.27.0.tar.gz \ | tar xvzf - --strip-components=1 -C /usr/local/bin/ --wildcards "*/azcopy" FROM base diff --git a/test/sanity/run-test.sh b/test/sanity/run-test.sh index 69637f58a1..7b40d8b642 100755 --- a/test/sanity/run-test.sh +++ b/test/sanity/run-test.sh @@ -40,7 +40,7 @@ azcopyPath="/usr/local/bin/azcopy" if [ ! -f "$azcopyPath" ]; then echo 'Downloading azcopy...' azcopyTarFile="azcopy.tar.gz" - wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.26.0-20240731/azcopy_linux_amd64_10.26.0.tar.gz + wget -O $azcopyTarFile azcopyvnext.azureedge.net/releases/release-10.27.0-20241030/azcopy_linux_amd64_10.27.0.tar.gz tar -zxvf $azcopyTarFile mv ./azcopy*/azcopy /usr/local/bin/azcopy rm -rf ./$azcopyTarFile