2021-07-21 11:26:56 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: openebs-lvm
|
2021-08-02 09:52:07 +00:00
|
|
|
{{- if .Values.storageClass.default }}
|
|
|
|
annotations:
|
|
|
|
storageclass.kubernetes.io/is-default-class: "true"
|
|
|
|
{{- end }}
|
2021-07-21 11:26:56 +00:00
|
|
|
volumeBindingMode: WaitForFirstConsumer
|
|
|
|
reclaimPolicy: Delete
|
|
|
|
parameters:
|
|
|
|
storage: lvm
|
2021-08-02 09:05:06 +00:00
|
|
|
vgpattern: {{ default "openebs.*" .Values.storageClass.vgpattern }}
|
2021-07-21 11:26:56 +00:00
|
|
|
fsType: xfs
|
|
|
|
provisioner: local.csi.openebs.io
|