Skip to content

Commit 8f68033

Browse files
committed
Release v2.3.4
修复:避免当 clb 底层性能出问题时绑定 rs 失败(没有错误码)误以为绑定成功而将映射结果写入 pod 注解的问题。
1 parent 01b27f7 commit 8f68033

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# 版本说明
22

3+
## v2.3.4 (2025-08-07)
4+
5+
- 修复:避免当 clb 底层性能出问题时绑定 rs 失败(没有错误码)误以为绑定成功而将映射结果写入 pod 注解的问题。
6+
37
## v2.3.3 (2025-08-04)
48

59
- 优化chart:vpc 接口调用走内部地址,不依赖公网。

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Image URL to use all building/pushing image targets
2-
IMG ?= imroc/tke-extend-network-controller:2.3.3
2+
IMG ?= imroc/tke-extend-network-controller:2.3.4
33
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
44
ENVTEST_K8S_VERSION = 1.30.0
55

charts/tke-extend-network-controller/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 2.3.3
21+
version: 2.3.4
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
2525
# follow Semantic Versioning. They should reflect the version the application is using.
2626
# It is recommended to use it with quotes.
27-
appVersion: 2.3.3
27+
appVersion: 2.3.4
2828
kubeVersion: '>= 1.26.0-0'

pkg/clb/batch-target.go

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"fmt"
66

77
clb "github.com/tencentcloud/tencentcloud-sdk-go/tencentcloud/clb/v20180317"
8+
"github.com/tkestack/tke-extend-network-controller/pkg/util"
89
)
910

1011
type RegisterTargetTask struct {
@@ -48,9 +49,16 @@ func startRegisterTargetsProccessor(concurrent int) {
4849
}
4950
return
5051
}
51-
_, err = Wait(context.Background(), region, *res.Response.RequestId, apiName)
52-
for _, task := range tasks {
53-
task.Result <- err
52+
if len(res.Response.FailListenerIdSet) > 0 {
53+
err := fmt.Errorf("register targets failed for %s", util.ConvertPtrSlice(res.Response.FailListenerIdSet))
54+
for _, task := range tasks {
55+
task.Result <- err
56+
}
57+
} else {
58+
_, err = Wait(context.Background(), region, *res.Response.RequestId, apiName)
59+
for _, task := range tasks {
60+
task.Result <- err
61+
}
5462
}
5563
})
5664
}

0 commit comments

Comments
 (0)