Files
kubernetes/pkg/volume
Kubernetes Submit Queue e4a6d42d96 Merge pull request #54674 from andyzhangx/azurefile-mountoptions
Automatic merge from submit-queue (batch tested with PRs 55254, 55525, 50108, 54674, 55263). 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>.

support mount options in azure file

**What this PR does / why we need it**:
support mount options in azure file

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #37005, #54610

**Special notes for your reviewer**:
@rootfs @karataliu @feiskyer 
By default, the dir_mode and file_mode would be 0700, vers would be 3.0, while if user specify `dir_mode`, `file_mode`, `vers` in storage class in `mountOptions` field(see below), then azure file should use user specified mount options.
```
---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: azurefile
provisioner: kubernetes.io/azure-file
mountOptions:
  - dir_mode=0377
  - file_mode=0350
  - vers=2.1
parameters:
  skuName: Standard_LRS
  location: westus2
```

**Release note**:

```
support mount options in azure file
```
/sig azure
2017-11-17 13:34:14 -08:00
..
2017-10-31 10:55:19 +01:00
2017-11-09 12:14:08 +01:00
2017-11-09 12:14:08 +01:00
2017-11-09 12:14:08 +01:00
2017-10-31 10:55:19 +01:00
2017-11-09 12:14:08 +01:00
2017-10-26 01:40:24 +08:00
2017-10-26 01:40:24 +08:00
2017-11-16 08:43:36 -05:00
2017-11-09 12:14:08 +01:00
2017-11-09 12:14:08 +01:00
2017-03-02 15:01:59 -08:00
2017-03-02 15:01:59 -08:00
2017-03-02 15:01:59 -08:00
2017-10-19 07:17:44 +05:30
2017-10-31 10:55:19 +01:00