k3s/pkg/volume/rbd
Kubernetes Submit Queue e554dd6d3d Merge pull request #45805 from weiwei04/ceph-imageformat-2
Automatic merge from submit-queue

storageclass ceph add imageformat parameter

**What this PR does / why we need it**:
Add a imageformat parameter for StorageClass(ceph rbd)

k8s hard coded ceph imageformat 1, according to [ceph manual](http://docs.ceph.com/docs/master/man/8/rbd/), imageformat 1 was deprecated, we should add an extra ceph parameter to set ceph rbd imageformat. Ceph rbd imageformat can only be 1 or 2, set the default value to 1.

**Release note**:
```release-note
Allow StorageClass Ceph RBD to specify image format and image features.
```
2017-06-23 16:43:37 -07:00
..
BUILD Merge pull request #45805 from weiwei04/ceph-imageformat-2 2017-06-23 16:43:37 -07:00
OWNERS Remove rkouj from owners files. 2017-04-28 17:14:38 -07:00
disk_manager.go run root-rewrite-v1-..., compile 2017-06-22 10:25:57 -07:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
rbd.go Merge pull request #45805 from weiwei04/ceph-imageformat-2 2017-06-23 16:43:37 -07:00
rbd_test.go run hack/update-all 2017-06-22 11:31:03 -07:00
rbd_util.go Merge pull request #45805 from weiwei04/ceph-imageformat-2 2017-06-23 16:43:37 -07:00