{{- if index .Values "lvm-localpv" "enabled" }}
kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
  name: openebs-lvm-snapshots
  #annotations:
  # snapshot.storage.kubernetes.io/is-default-class: "true"
  labels:
    {{- include "kubezero-lib.labels" . | nindent 4 }}
driver: local.csi.openebs.io
deletionPolicy: Delete
{{- end }}
