rawfile-localpv/.ci/e2e-test/rawfile-driver.yaml
Mehran Kholdi 77862b85e2 Support custom fsTypes
Test Plan:
- Deploy using `feature-fstype` image tag
- Create the following storage class:
```
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: btrfs-sc
parameters:
  fsType: btrfs
provisioner: rawfile.hamravesh.com
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
```
- Create and use a pvc backed by the new storage class
- Exec into the pod and verify that the mounted volume is a `btrfs` filesystem indeed

Reviewers: h.marvi, sina_rad, mhyousefi, bghadiri

Reviewed By: h.marvi, mhyousefi, bghadiri

Differential Revision: https://phab.hamravesh.ir/D833
2020-07-18 09:46:05 +04:30

23 lines
419 B
YAML

StorageClass:
FromName: true
SnapshotClass:
FromName: true
DriverInfo:
Name: rawfile.hamravesh.com
SupportedFsType:
ext4:
btrfs:
Capabilities:
persistence: true
block: false
fsGroup: true
exec: true
snapshotDataSource: false
pvcDataSource: false
multipods: true
RWX: false
controllerExpansion: true
nodeExpansion: true
volumeLimits: false
InlineVolumes: []