From 8c895dd043a699646aa9a70f9776b2e3bb8911f6 Mon Sep 17 00:00:00 2001 From: haoshuwei Date: Mon, 17 Aug 2020 11:01:22 +0800 Subject: [PATCH] update velero plugin version Signed-off-by: haoshuwei --- build/build.sh | 2 +- install/01-velero.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.sh b/build/build.sh index 38310ec..9700340 100755 --- a/build/build.sh +++ b/build/build.sh @@ -6,7 +6,7 @@ export GOARCH="amd64" export GOOS="linux" branch="master" -version="v1.2" +version="v1.0.0" commitId=$GIT_SHA buildTime=`date "+%Y-%m-%d-%H:%M:%S"` CGO_ENABLED=0 go build -ldflags "-X main._BRANCH_='$branch' -X main._VERSION_='$version-$commitId' -X main._BUILDTIME_='$buildTime'" -o _output/velero-plugin-for-alibabacloud ${GOPATH}/src/github.com/AliyunContainerService/velero-plugin/velero-plugin-for-alibabacloud diff --git a/install/01-velero.yaml b/install/01-velero.yaml index 5669860..0d4b415 100644 --- a/install/01-velero.yaml +++ b/install/01-velero.yaml @@ -95,7 +95,7 @@ spec: - mountPath: /credentials name: cloud-credentials initContainers: - - image: registry.cn-hangzhou.aliyuncs.com/acs/velero-plugin-alibabacloud:v1.2-991b590 + - image: registry.cn-hangzhou.aliyuncs.com/acs/velero-plugin-alibabacloud:v1.0.0 imagePullPolicy: IfNotPresent name: velero-plugin-alibabacloud volumeMounts: