From 2e9281681a246da00bb9c8a14a58573c063e80bd Mon Sep 17 00:00:00 2001 From: ChengXiangdong Date: Tue, 10 Jan 2023 19:26:09 +0800 Subject: [PATCH] Release v0.20.0 --- Makefile | 3 +++ manifests/huawei-cloud-controller-manager.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 35057f57a..8c5e74004 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,9 @@ REGISTRY?=${REGISTRY_SERVER_ADDRESS}/k8s-cloudprovider # Set you version by env or using latest tags from git VERSION?=$(shell git describe --tags) +COMMIT?=$(shell git rev-parse --short=8 HEAD) +BRANCH?=$(shell git rev-parse --abbrev-ref HEAD) +LDFLAGS := "-w -s -X 'k8s.io/component-base/version.gitVersion=$(VERSION)-$(BRANCH)+$(COMMIT)'" all: huawei-cloud-controller-manager diff --git a/manifests/huawei-cloud-controller-manager.yaml b/manifests/huawei-cloud-controller-manager.yaml index 2d5ba2029..e46e3de57 100644 --- a/manifests/huawei-cloud-controller-manager.yaml +++ b/manifests/huawei-cloud-controller-manager.yaml @@ -44,7 +44,7 @@ spec: serviceAccountName: cloud-controller-manager containers: - name: huawei-cloud-controller-manager - image: swr.cn-north-4.myhuaweicloud.com/k8s-cloudprovider/huawei-cloud-controller-manager:v0.19.15 + image: swr.cn-north-4.myhuaweicloud.com/k8s-cloudprovider/huawei-cloud-controller-manager:v0.20.0 args: - /bin/huawei-cloud-controller-manager - --v=5