k3s/pkg/volume/aws_ebs
Kubernetes Submit Queue d286f56221 Merge pull request #45345 from codablock/storageclass_fstype
Automatic merge from submit-queue (batch tested with PRs 45345, 49470, 49407, 49448, 49486)

Support "fstype" parameter in dynamically provisioned PVs

This PR is a replacement for https://github.com/kubernetes/kubernetes/pull/40805. I was not able to push fixes and rebases to the original branch as I don't have access to the Github organization anymore.

I assume the PR will need a new "ok to test" 

**ORIGINAL PR DESCRIPTION**

**What this PR does / why we need it**: This PR allows specifying the desired FSType when dynamically provisioning volumes with storage classes. The FSType can now be set as a parameter:
```yaml
kind: StorageClass
apiVersion: storage.k8s.io/v1beta1
metadata:
  name: test
provisioner: kubernetes.io/azure-disk
parameters:
  fstype: xfs
```

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

**Special notes for your reviewer**:
The PR also implicitly adds checks for unsupported parameters.

**Release note**:

```release-note
Support specifying of FSType in StorageClass
```
2017-07-24 07:40:47 -07:00
..
BUILD update godep 2017-07-20 11:03:49 -07:00
OWNERS Curate owners for pkg/volume/aws_ebs 2017-02-22 22:51:08 -05:00
attacher.go update import 2017-07-20 11:03:49 -07:00
attacher_test.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
aws_ebs.go Merge pull request #45345 from codablock/storageclass_fstype 2017-07-24 07:40:47 -07:00
aws_ebs_test.go Support "fstype" parameter in dynamically provisioned PVs 2017-07-19 10:34:13 +02:00
aws_util.go Support "fstype" parameter in dynamically provisioned PVs 2017-07-19 10:34:13 +02:00
doc.go