From 44f6f485ac74f4a47ae5d3c4ea765111a61c0648 Mon Sep 17 00:00:00 2001 From: wangyelei Date: Mon, 9 Oct 2023 16:58:50 +0800 Subject: [PATCH] fix: unstable failed for volume expansion --- controllers/apps/operations/volume_expansion_updater.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/apps/operations/volume_expansion_updater.go b/controllers/apps/operations/volume_expansion_updater.go index ce49a2bec17..afbb4a6ebe1 100644 --- a/controllers/apps/operations/volume_expansion_updater.go +++ b/controllers/apps/operations/volume_expansion_updater.go @@ -51,7 +51,8 @@ const ( func init() { k8score.PersistentVolumeClaimHandlerMap["volume-expansion"] = handleVolumeExpansionWithPVC - k8score.EventHandlerMap["volume-expansion"] = PersistentVolumeClaimEventHandler{} + // Note: remove the event check for volume expansion + // k8score.EventHandlerMap["volume-expansion"] = PersistentVolumeClaimEventHandler{} } // handleVolumeExpansionOperation handles the pvc for the volume expansion OpsRequest.