• Kubernetes Submit Queue's avatar
    Merge pull request #46458 from jsafrane/mount-prep · 198e8358
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46458, 50934, 50766, 50970, 47698)
    
    Prepare VolumeHost for running mount tools in containers
    
    This is the first part of implementation of https://github.com/kubernetes/features/issues/278 - running mount utilities in containers.
    
    It updates `VolumeHost` interface:
    
    *  `GetMounter()` now requires volume plugin name, as it is going to return different mounter to different volume plugings, because mount utilities for these plugins can be on different places.
    * New `GetExec()` method that should volume plugins use to execute any utilities. This new `Exec` interface will execute them on proper place.
    * `SafeFormatAndMount` is updated to the new `Exec` interface.
    
    This is just a preparation, `GetExec` right now leads to simple `os.Exec` and mount utilities are executed on the same place as before. Also, the volume plugins will be updated in subsequent PRs (split into separate PRs, some plugins required lot of changes).
    
    ```release-note
    NONE
    ```
    
    @kubernetes/sig-storage-pr-reviews 
    @rootfs @gnufied
    198e8358
Name
Last commit
Last update
..
options Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
binder_test.go Loading commit data...
delete_test.go Loading commit data...
framework_test.go Loading commit data...
index.go Loading commit data...
index_test.go Loading commit data...
provision_test.go Loading commit data...
pv_controller.go Loading commit data...
pv_controller_base.go Loading commit data...
pv_controller_test.go Loading commit data...
recycle_test.go Loading commit data...
volume_host.go Loading commit data...