From 0c6394ec9eb26f67d8c0da61781141ca020068c7 Mon Sep 17 00:00:00 2001 From: "mingzhou.swx" Date: Wed, 1 Nov 2023 15:28:09 +0800 Subject: [PATCH] add 1.5.1 change log Signed-off-by: mingzhou.swx --- CHANGELOG.md | 17 +++++++++++++++++ pkg/controller/cloneset/cloneset_controller.go | 4 ++++ 2 files changed, 21 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a13b22e5bb..05c529b416 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log +## v1.5.1 +> Chang log since v1.5.0 + +In version 1.5.1, the focus was on enhancing UnitedDeployment and addressing various bug fixes: + +- Add the ability to plan the lower and upper bound of capacity to the subsets in UnitedDeployment ([#1428](https://github.com/openkruise/kruise/pull/1428), [@veophi](https://github.com/veophi)) + +- Fix unexpected job recreation by adding controller-revision-hash label for ImageListPullJob. ([#1441](https://github.com/openkruise/kruise/pull/1428), [@veophi](https://github.com/veophi)) + +- Add prometheus metrics for pub and deletion protection to enhance observability for pub & deletion protection ([#1398](https://github.com/openkruise/kruise/pull/1398), [@zmberg](https://github.com/zmberg)) + +- Add enable pprof flag for kruise daemon, now you can disable the pprof of kruise daemon ([#1416](https://github.com/openkruise/kruise/pull/1416), [@chengjoey](https://github.com/chengjoey)) + +- Fix SidecarSet upgrade exception for UpdateExpectations to solve the problem of updating the image of the sidecar container ([#1435](https://github.com/openkruise/kruise/pull/1435), [@zmberg](https://github.com/zmberg)]) + +- add audit log for pub and deletion protection to enhance observability for pub & deletion protection ([#1438](https://github.com/openkruise/kruise/pull/1438), [@zmberg](https://github.com/zmberg)]) + ## v1.5.0 > Change log since v1.4.0 diff --git a/pkg/controller/cloneset/cloneset_controller.go b/pkg/controller/cloneset/cloneset_controller.go index d79dfa8ea1..321790c7d6 100644 --- a/pkg/controller/cloneset/cloneset_controller.go +++ b/pkg/controller/cloneset/cloneset_controller.go @@ -349,6 +349,10 @@ func (r *ReconcileCloneSet) doReconcile(request reconcile.Request) (res reconcil klog.Errorf("Failed to truncate history for %s: %v", request, err) } + if err = r.recordVolumeClaimTemplate(instance, updateRevision); err != nil { + + } + if syncErr == nil && instance.Spec.MinReadySeconds > 0 && newStatus.AvailableReplicas != newStatus.ReadyReplicas { clonesetutils.DurationStore.Push(request.String(), time.Second*time.Duration(instance.Spec.MinReadySeconds)) }