mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-09 04:20:36 +00:00
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