kubernetes/pkg
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
..
api Merge pull request #134556 from carlory/fix-133160 2025-12-18 15:13:17 -08:00
apis Merge pull request #135229 from lalitc375/origin-union 2025-12-18 19:24:31 -08:00
auth
capabilities
certauthorization Pod Certificates: Basic implementation 2025-07-21 21:49:57 +00:00
client test: code coverage increase for kubelet_client 2025-06-25 13:39:12 +08:00
cluster/ports
controller Merge pull request #135821 from pohly/dra-device-taints-owner 2025-12-18 19:24:38 -08:00
controlplane Merge pull request #134556 from carlory/fix-133160 2025-12-18 15:13:17 -08:00
credentialprovider Migrate pkg/credentialprovider to structured logging 2025-08-11 16:41:55 -07:00
features locked the feature-gate VolumeAttributesClass to default (true) and switch storage version from v1beta1 to v1 2025-12-18 15:59:33 +08:00
fieldpath
generated Merge pull request #135615 from soltysh/drop_autoscaling_v2betaX 2025-12-17 23:28:25 -08:00
kubeapiserver locked the feature-gate VolumeAttributesClass to default (true) and switch storage version from v1beta1 to v1 2025-12-18 15:59:33 +08:00
kubectl React to removing autoscaling v2beta1 and v2beta2 2025-12-05 11:59:30 +01:00
kubelet build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
kubemark Merge pull request #122384 from carlory/remove-kubelet-flag-register-schedulable 2025-06-18 05:26:54 -07:00
printers Merge pull request #135615 from soltysh/drop_autoscaling_v2betaX 2025-12-17 23:28:25 -08:00
probe build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
proxy build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
quota/v1 locked the feature-gate VolumeAttributesClass to default (true) and switch storage version from v1beta1 to v1 2025-12-18 15:59:33 +08:00
registry Merge pull request #135229 from lalitc375/origin-union 2025-12-18 19:24:31 -08:00
routes build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
scheduler build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
security build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
securitycontext Merge pull request #131018 from saschagrunert/default-masked-paths 2025-07-15 10:56:23 -07:00
serviceaccount Convert externaljwt from gogo to protoc 2025-07-08 08:08:30 +02:00
util build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
volume Fix VolumeAttachment cleanup when AttachRequired changes 2025-12-19 15:51:45 +08:00
windows/service build: remove deprecated '// +build' tag 2025-12-18 12:16:21 +01:00
.import-restrictions restrict the use of scheme internally to client-go 2025-05-16 08:48:39 +00:00
OWNERS