apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-lvm
  {{- if .Values.storageClass.default }}
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
  {{- end }}
volumeBindingMode: WaitForFirstConsumer  
reclaimPolicy: Delete
parameters:
  storage: lvm
  vgpattern: {{ default "openebs.*" .Values.storageClass.vgpattern }}
  fsType: xfs
provisioner: local.csi.openebs.io
