mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-16 23:05:05 +00:00
Automatic merge from submit-queue (batch tested with PRs 47204, 46808, 47432, 47400, 47099) Remove broken getvolumename and pass PV or volume name to attach call Cherry-picking https://github.com/kubernetes/kubernetes/pull/46249 to master What this PR does / why we need it: Flex getvolumename is broken in 1.6. It needs to be fixed comprehensively in 1.7 release. Removing the api in 1.6. Also pass PV or volume name to the driver during attach call. Detach uses PV or volume name, so plugin can use that information to map to PV. Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes # Fixes - #44737