kubernetes/pkg/util/mount
Kubernetes Submit Queue 618b705a4b
Merge pull request #53629 from andyzhangx/azurefile-improve
Automatic merge from submit-queue (batch tested with PRs 46341, 53629). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix azure file mount limit issue on windows due to using drive letter

**What this PR does / why we need it**:
It's not necessary to use drive letter in azure file mount, correct usage for New-SmbGlobalMapping is like following:
```
New-SmbGlobalMapping -RemotePath $AzureFilePath -Credential $Credential
mklink /D $mountPath $AzureFilePath 
```
I removed the `LocalPath` parameter in New-SmbGlobalMapping

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #54668
Without this PR, there is a limit(25) for azure file mount number on each node because only 25 drive letters could be used on each windows node, With this PR, there would be no such limit.

**Special notes for your reviewer**:
@PatrickLang 

**Release note**:

```
fix azure file mount limit issue on windows due to using drive letter
```
/sig azure
/sig windows
2017-11-01 04:38:12 -07:00
..
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
exec.go Add Exec interface to VolumeHost 2017-08-14 12:16:25 +02:00
fake.go RBD Plugin: Prepare to implement Attacher/Detacher interfaces. 2017-10-25 17:07:27 +08:00
mount_linux_test.go Share /var/lib/kubernetes on startup 2017-08-30 16:45:04 +02:00
mount_linux.go Merge pull request #52401 from andyzhangx/azuredisk-getdevfunc 2017-10-27 20:28:36 -07:00
mount_unsupported.go Merge pull request #52401 from andyzhangx/azuredisk-getdevfunc 2017-10-27 20:28:36 -07:00
mount_windows_test.go Merge pull request #53629 from andyzhangx/azurefile-improve 2017-11-01 04:38:12 -07:00
mount_windows.go Merge pull request #53629 from andyzhangx/azurefile-improve 2017-11-01 04:38:12 -07:00
mount.go Merge pull request #52401 from andyzhangx/azuredisk-getdevfunc 2017-10-27 20:28:36 -07:00
nsenter_mount_test.go Fix findmnt parsing in containerized kubelet 2017-07-18 13:35:44 +02:00
nsenter_mount_unsupported.go use GetFileType per mount.Interface to check hostpath type 2017-09-26 09:57:06 +08:00
nsenter_mount.go use GetFileType per mount.Interface to check hostpath type 2017-09-26 09:57:06 +08:00
OWNERS Add owner file in /pkg/util/mount package 2017-02-06 10:51:26 -08:00
safe_format_and_mount_test.go RBD Plugin: Prepare to implement Attacher/Detacher interfaces. 2017-10-25 17:07:27 +08:00