kubernetes/pkg/volume/util/operationexecutor
hongkang 6910bc7bb0 Fix VolumeAttachment cleanup when AttachRequired changes
When CSI's AttachRequired changes from true to false after a successful
volume attach, MarkVolumeAsAttached fails because it attempts to look up
the plugin by spec, which fails verification.
This patch passes the VolumeName directly to MarkVolumeAsAttached.
This allows the function to skip the plugin lookup and correctly mark
the volume as attached in the Actual State of World, ensuring
VolumeAttachment cleanup can proceed.

Signed-off-by: hongkang <mzhkcj50@gmail.com>
2025-12-19 15:51:45 +08:00
..
fakegenerator.go clean up csi translator from volume operation generator 2024-10-28 18:27:10 +08:00
node_expander.go Add code for not expanding volume if it has NodeExpansionNotRequired annotation 2025-05-28 13:07:34 -04:00
node_expander_test.go Bump RecoverVolumeExpansionFailure to GA 2025-07-10 12:19:31 -04:00
operation_executor.go pkg/volume: improve code style and readability 2025-09-27 20:18:08 +05:30
operation_executor_test.go clean up csi translator from volume operation generator 2024-10-28 18:27:10 +08:00
operation_generator.go Fix VolumeAttachment cleanup when AttachRequired changes 2025-12-19 15:51:45 +08:00
operation_generator_test.go Bump RecoverVolumeExpansionFailure to GA 2025-07-10 12:19:31 -04:00