KubeZero/charts/kubezero-storage/templates/lvm-storageclass.yaml

16 lines
413 B
YAML
Raw Normal View History

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