From 2288d26dac27e2d2a274b3b3a7afa194ebe7c83a Mon Sep 17 00:00:00 2001 From: barnettZQG Date: Fri, 2 Jul 2021 11:44:39 +0800 Subject: [PATCH] change version --- .github/workflows/release-ci-build.yml | 2 +- Makefile | 2 +- controllers/handler/worker.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-ci-build.yml b/.github/workflows/release-ci-build.yml index e0f60a1b..0b7eb3c2 100644 --- a/.github/workflows/release-ci-build.yml +++ b/.github/workflows/release-ci-build.yml @@ -32,6 +32,6 @@ jobs: uses: docker/build-push-action@v2 with: push: true - tags: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator:v2.0.0 + tags: registry.cn-hangzhou.aliyuncs.com/goodrain/rainbond-operator:v2.0.1 - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} diff --git a/Makefile b/Makefile index dff0ecfc..501304ec 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Current Operator version -VERSION ?= 2.0.0 +VERSION ?= 2.0.1 # Default bundle image tag BUNDLE_IMG ?= controller-bundle:$(VERSION) # Options for 'bundle-build' diff --git a/controllers/handler/worker.go b/controllers/handler/worker.go index ea5e7738..a7f1af1e 100644 --- a/controllers/handler/worker.go +++ b/controllers/handler/worker.go @@ -117,7 +117,7 @@ func (w *worker) deployment() client.Object { } args := []string{ "--host-ip=$(POD_IP)", - "--node-name=$(HOST_IP)", + "--node-name=$(POD_IP)", w.db.RegionDataSource(), "--etcd-endpoints=" + strings.Join(etcdEndpoints(w.cluster), ","), "--rbd-system-namespace=" + w.component.Namespace,