Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

0.5.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@kmova kmova released this 11 May 18:20
· 278 commits to release since this release
Support fstype other then ext4 (#38)

This commit will extend the provisioner to support
other filesystem i.e. XFS, ext3 etc. Ext4 will be the default fstype
for openebs volumes. But can be changed via storageclass parameter
key/value for example "openebs.io/fstype : xfs"


---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-percona
  provisioner: openebs.io/provisioner-iscsi
parameters:
  openebs.io/storage-pool: "default"
  openebs.io/jiva-replica-count: "1"
  openebs.io/volume-monitor: "true"
  openebs.io/capacity: 5G
  openebs.io/fstype: "xfs"
    ---

Also this PR adds OPENEBS_VALID_FSTYPE ENV config parameter

OPENEBS_VALID_FSTYPE can be exported as supported fstype for
openebs volume. This can be set as ENV in openebs-provisioner pod 
deployment.for example: OPENEBS_VALID_FSTYPE="ext3,btrfs,zfs"

Signed-off-by: prateekpandey14 <[email protected]>